Skip to content

Commit df43f21

Browse files
Revert "[WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK"
This reverts commit 5e3916e.
1 parent 6e88e0a commit df43f21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ set(swift_runtime_library_compile_flags ${swift_runtime_compile_flags})
8888
list(APPEND swift_runtime_library_compile_flags -DswiftCore_EXPORTS)
8989
list(APPEND swift_runtime_library_compile_flags -I${SWIFT_SOURCE_DIR}/include)
9090

91-
set(sdk "${SWIFT_PRIMARY_VARIANT_SDK}")
91+
set(sdk "${SWIFT_HOST_VARIANT_SDK}")
9292
if(SWIFT_BUILD_STATIC_STDLIB AND "${sdk}" STREQUAL "LINUX")
9393
list(REMOVE_ITEM swift_runtime_sources ImageInspectionELF.cpp)
9494
set(static_binary_lnk_file_list)

0 commit comments

Comments
 (0)