We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4558b50 commit 8f01620Copy full SHA for 8f01620
cmake/modules/SwiftSource.cmake
@@ -79,8 +79,7 @@ function(handle_swift_sources
79
# <rdar://problem/15972329>
80
list(APPEND swift_compile_flags "-force-single-frontend-invocation")
81
82
- # FIXME: Apply this on all platforms where the linker supports it.
83
- if(SWIFTSOURCES_IS_STDLIB_CORE AND "${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
+ if(SWIFTSOURCES_IS_STDLIB_CORE)
84
list(APPEND swift_compile_flags "-Xcc" "-D__SWIFT_CURRENT_DYLIB=swiftCore")
85
endif()
86
0 commit comments