Skip to content

Commit 3b7639d

Browse files
committed
Make sure that the sanitizers use the same minimum OS X deployment target as llvm/clang/swift.
Otherwise, we run into an issue with certain clangs and linking in libc++. libc++ in certain clangs require a minimum deployment target of at least 10.7. I have not investigated further since I am trying to make progress on the branching scheme. rdar://26081474 (cherry picked from commit 2a27443)
1 parent 6b3067b commit 3b7639d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-script-impl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ function set_deployment_target_based_options() {
531531
-DCOMPILER_RT_ENABLE_IOS:BOOL=FALSE
532532
-DCOMPILER_RT_ENABLE_WATCHOS:BOOL=FALSE
533533
-DCOMPILER_RT_ENABLE_TVOS:BOOL=FALSE
534+
-DSANITIZER_MIN_OSX_VERSION="${cmake_osx_deployment_target}"
534535
)
535536
if [[ $(true_false "${LLVM_ENABLE_LTO}") = "TRUE" ]]; then
536537
if [[ $(cmake_needs_to_specify_standard_computed_defaults) = "TRUE" ]]; then

0 commit comments

Comments
 (0)