File tree 4 files changed +0
-14
lines changed
4 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,6 @@ FetchContent_MakeAvailable(SwiftFoundationICU SwiftFoundation)
98
98
include (CheckLinkerFlag)
99
99
include (CheckSymbolExists)
100
100
101
- check_linker_flag(C "LINKER:--build-id=sha1" LINKER_SUPPORTS_BUILD_ID)
102
-
103
101
# Detect if the system libc defines symbols for these functions.
104
102
# If it is not availble, swift-corelibs-foundation has its own implementations
105
103
# that will be used. If it is available, it should not redefine them.
Original file line number Diff line number Diff line change @@ -175,9 +175,5 @@ if(dispatch_FOUND)
175
175
swiftDispatch)
176
176
endif ()
177
177
178
- if (LINKER_SUPPORTS_BUILD_ID)
179
- target_link_options (Foundation PRIVATE "LINKER:--build-id=sha1" )
180
- endif ()
181
-
182
178
set_property (GLOBAL APPEND PROPERTY Foundation_EXPORTS Foundation)
183
179
_foundation_install_target(Foundation)
Original file line number Diff line number Diff line change @@ -77,9 +77,5 @@ set_target_properties(FoundationNetworking PROPERTIES
77
77
INSTALL_RPATH "$ORIGIN"
78
78
INSTALL_REMOVE_ENVIRONMENT_RPATH ON )
79
79
80
- if (LINKER_SUPPORTS_BUILD_ID)
81
- target_link_options (FoundationNetworking PRIVATE "LINKER:--build-id=sha1" )
82
- endif ()
83
-
84
80
set_property (GLOBAL APPEND PROPERTY Foundation_EXPORTS FoundationNetworking)
85
81
_foundation_install_target(FoundationNetworking)
Original file line number Diff line number Diff line change @@ -50,9 +50,5 @@ set_target_properties(FoundationXML PROPERTIES
50
50
INSTALL_RPATH "$ORIGIN"
51
51
INSTALL_REMOVE_ENVIRONMENT_RPATH ON )
52
52
53
- if (LINKER_SUPPORTS_BUILD_ID)
54
- target_link_options (FoundationXML PRIVATE "LINKER:--build-id=sha1" )
55
- endif ()
56
-
57
53
set_property (GLOBAL APPEND PROPERTY Foundation_EXPORTS FoundationXML)
58
54
_foundation_install_target(FoundationXML)
You can’t perform that action at this time.
0 commit comments