File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ function(add_swift_unittest test_dirname)
52
52
target_compile_options (${test_dirname} PRIVATE
53
53
-march=core2 )
54
54
endif ()
55
+ elseif ("${SWIFT_HOST_VARIANT} " STREQUAL "windows" )
56
+ target_compile_definitions ("${test_dirname} " PRIVATE
57
+ _ENABLE_EXTENDED_ALIGNED_STORAGE )
55
58
endif ()
56
59
57
60
find_program (LDLLD_PATH "ld.lld" )
Original file line number Diff line number Diff line change @@ -85,11 +85,6 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
85
85
PRIVATE
86
86
swiftCore_EXPORTS )
87
87
88
- if (SWIFT_HOST_VARIANT STREQUAL "windows" )
89
- target_compile_definitions (SwiftRuntimeTests PRIVATE
90
- _ENABLE_EXTENDED_ALIGNED_STORAGE )
91
- endif ()
92
-
93
88
# FIXME: cross-compile for all variants.
94
89
target_link_libraries (SwiftRuntimeTests
95
90
PRIVATE
You can’t perform that action at this time.
0 commit comments