File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,9 @@ for arch in ${architectures}; do
119
119
step " Building shims to make libc++ compatible with the system libc++ on Apple platforms when running the tests"
120
120
shims_library=" ${build_dir} /${arch} /apple-system-shims.a"
121
121
# Note that this doesn't need to match the Standard version used to build the rest of the library.
122
- xcrun clang++ -c -std=c++2b -target ${target} " ${llvm_root} /libcxxabi/src/vendor/apple/shims.cpp" -static -o " ${shims_library} "
122
+ # Also note that we explicitly enable sized deallocation when building the shims to ensure that we provide as
123
+ # many symbols as possible.
124
+ xcrun clang++ -c -std=c++2b -fsized-deallocation -target ${target} " ${llvm_root} /libcxxabi/src/vendor/apple/shims.cpp" -static -o " ${shims_library} "
123
125
124
126
step " Building libc++.dylib and libc++abi.dylib for architecture ${arch} "
125
127
xcrun cmake -S " ${llvm_root} /runtimes" \
You can’t perform that action at this time.
0 commit comments