[compiler-rt] Don't build builtins beyond macOS 10.7

It's not supported anyways, and now Clang complains about it since
we didn't support -stdlib=libc++ back then.
This commit is contained in:
Louis Dionne 2022-08-04 16:48:10 -04:00
parent 7f5b167336
commit 49d2071572
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ if(APPLE)
endfunction()
set(DARWIN_EMBEDDED_PLATFORMS)
set(DARWIN_osx_BUILTIN_MIN_VER 10.5)
set(DARWIN_osx_BUILTIN_MIN_VER 10.7)
set(DARWIN_osx_BUILTIN_MIN_VER_FLAG
-mmacosx-version-min=${DARWIN_osx_BUILTIN_MIN_VER})
set(DARWIN_osx_BUILTIN_ALL_POSSIBLE_ARCHS ${X86} ${X86_64})