[compiler-rt] Don't build builtins beyond macOS 10.7
authorLouis Dionne <ldionne.2@gmail.com>
Thu, 4 Aug 2022 20:48:10 +0000 (16:48 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Thu, 4 Aug 2022 20:48:10 +0000 (16:48 -0400)
It's not supported anyways, and now Clang complains about it since
we didn't support -stdlib=libc++ back then.

compiler-rt/cmake/builtin-config-ix.cmake

index 9cbadf3..5aa2114 100644 (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})