summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-10-09 18:32:34 +0000
committerChris Bieneman <beanz@apple.com>2015-10-09 18:32:34 +0000
commit33bcf42db91fdc0438b377f61e9f034f86596a2c (patch)
treede1c2035a4cf5a727280c74b0c07da6eb3a96050 /cmake/config-ix.cmake
parent3ff95ca61979ae59299da8f459a56a3f80275ba7 (diff)
[CMake] [darwin] [builitins] Don't build x86_64h into the 10.4 builtins library
There is no haswell support in 10.4, so we don't need a 10.4 builtin library. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@249868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r--cmake/config-ix.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 5a0e29a68..d2b65b009 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -354,6 +354,8 @@ if(APPLE)
${toolchain_arches})
message(STATUS "OSX 10.4 supported arches: ${DARWIN_10.4_ARCHS}")
if(DARWIN_10.4_ARCHS)
+ # don't include the Haswell slice in the 10.4 compatibility library
+ list(REMOVE_ITEM DARWIN_10.4_ARCHS x86_64h)
list(APPEND BUILTIN_SUPPORTED_OS 10.4)
endif()