]> granicus.if.org Git - clang/commitdiff
[CMake] Add a few default passthrough variables for bootstrap builds
authorChris Bieneman <beanz@apple.com>
Tue, 18 Oct 2016 00:50:20 +0000 (00:50 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 18 Oct 2016 00:50:20 +0000 (00:50 +0000)
This just passes through a few missing CMake variables for multi-stage builds.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284443 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 53e5f33246aac63e0ff2dbf5e1769750dd75bb61..abab6ce8cb54c99bad14b45fa61951a83ffbf7d9 100644 (file)
@@ -546,6 +546,7 @@ if (CLANG_ENABLE_BOOTSTRAP)
 
   set(_BOOTSTRAP_DEFAULT_PASSTHROUGH
     PACKAGE_VERSION
+    PACKAGE_VENDOR
     LLVM_VERSION_MAJOR
     LLVM_VERSION_MINOR
     LLVM_VERSION_PATCH
@@ -555,7 +556,8 @@ if (CLANG_ENABLE_BOOTSTRAP)
     LLVM_VERSION_SUFFIX
     LLVM_BINUTILS_INCDIR
     CLANG_REPOSITORY_STRING
-    CMAKE_MAKE_PROGRAM)
+    CMAKE_MAKE_PROGRAM
+    CMAKE_OSX_ARCHITECTURES)
 
   if(TARGET compiler-rt)
     set(RUNTIME_DEP compiler-rt)