Skip to content

Commit a02d518

Browse files
committed
Merge pull request #2744 from compnerd/ELF-is-protected
2 parents 3d5354d + 8f01620 commit a02d518

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmake/modules/SwiftSource.cmake

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ function(handle_swift_sources
7979
# <rdar://problem/15972329>
8080
list(APPEND swift_compile_flags "-force-single-frontend-invocation")
8181

82-
# FIXME: Apply this on all platforms where the linker supports it.
83-
if(SWIFTSOURCES_IS_STDLIB_CORE AND "${CMAKE_SYSTEM_NAME}" STREQUAL "Darwin")
82+
if(SWIFTSOURCES_IS_STDLIB_CORE)
8483
list(APPEND swift_compile_flags "-Xcc" "-D__SWIFT_CURRENT_DYLIB=swiftCore")
8584
endif()
8685

0 commit comments

Comments
 (0)