File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 08b6871abb38b002d9bcdea07361b1574323b468
2
+ refs/heads/master: 3ec4b4e0f9ee04ea597afa0e46565c3ba91ba3d4
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -1209,6 +1209,15 @@ function(_add_swift_library_single target name)
1209
1209
"${SWIFTLIB_SINGLE_FORCE_BUILD_OPTIMIZED_keyword} "
1210
1210
RESULT_VAR_NAME c_compile_flags
1211
1211
)
1212
+
1213
+ if (SWIFTLIB_IS_STDLIB )
1214
+ # We don't ever want to link against the ABI-breakage checking symbols
1215
+ # in the standard library, runtime, or overlays because they only rely
1216
+ # on the header parts of LLVM's ADT.
1217
+ list (APPEND c_compile_flags
1218
+ "-DLLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1" )
1219
+ endif ()
1220
+
1212
1221
if (SWIFTLIB_SINGLE_SDK STREQUAL WINDOWS )
1213
1222
if (libkind STREQUAL SHARED )
1214
1223
list (APPEND c_compile_flags -D_WINDLL )
You can’t perform that action at this time.
0 commit comments