[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.

llvm-svn: 249868
This commit is contained in:
Chris Bieneman 2015-10-09 18:32:34 +00:00
parent 980f8f2639
commit 4ebd15726f
1 changed files with 2 additions and 0 deletions

View File

@ -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()