Skip to content

Commit 0499501

Browse files
committed
[build] SourceKit no longer cross-compiles with the Swift 5.3 snapshots
There was a mixup in swiftlang#29451 and a CMake flag was dropped, this puts it back. Resolves SR-13315
1 parent 50db6e4 commit 0499501

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/SourceKit/cmake/modules/AddSwiftSourceKit.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function(add_sourcekit_default_compiler_flags target)
7878
${${SWIFT_HOST_VARIANT_ARCH}_INCLUDE})
7979
endif()
8080
target_compile_options(${target} PRIVATE
81-
-fblocks)
81+
${c_compile_flags} -fblocks)
8282
target_link_options(${target} PRIVATE
8383
${link_flags})
8484
target_link_directories(${target} PRIVATE

0 commit comments

Comments
 (0)