[compiler-rt] 49d2071 - [compiler-rt] Don't build builtins beyond macOS 10.7
Louis Dionne via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 4 13:48:45 PDT 2022
Author: Louis Dionne
Date: 2022-08-04T16:48:10-04:00
New Revision: 49d2071572d484a2b5dc356f59050bb173c8c77c
URL: https://github.com/llvm/llvm-project/commit/49d2071572d484a2b5dc356f59050bb173c8c77c
DIFF: https://github.com/llvm/llvm-project/commit/49d2071572d484a2b5dc356f59050bb173c8c77c.diff
LOG: [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.
Added:
Modified:
compiler-rt/cmake/builtin-config-ix.cmake
Removed:
################################################################################
diff --git a/compiler-rt/cmake/builtin-config-ix.cmake b/compiler-rt/cmake/builtin-config-ix.cmake
index 9cbadf33e257..5aa2114fab93 100644
--- a/compiler-rt/cmake/builtin-config-ix.cmake
+++ b/compiler-rt/cmake/builtin-config-ix.cmake
@@ -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})
More information about the llvm-commits
mailing list