Skip to content

Commit 7cced30

Browse files
authored
Merge pull request swiftlang#33182 from buttaface/kit
[build] SourceKit no longer cross-compiles with the Swift 5.3 snapshots
2 parents a277175 + 0499501 commit 7cced30

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)