[llvm-branch-commits] [cfe-branch] r105821 - /cfe/branches/Apple/whitney-IB/ClangBNI.mk
Daniel Dunbar
daniel at zuster.org
Fri Jun 11 08:13:16 PDT 2010
Author: ddunbar
Date: Fri Jun 11 10:13:16 2010
New Revision: 105821
URL: http://llvm.org/viewvc/llvm-project?rev=105821&view=rev
Log:
ClangBNI: Make sure stage1 builds with same make variables as final stage.
Modified:
cfe/branches/Apple/whitney-IB/ClangBNI.mk
Modified: cfe/branches/Apple/whitney-IB/ClangBNI.mk
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/whitney-IB/ClangBNI.mk?rev=105821&r1=105820&r2=105821&view=diff
==============================================================================
--- cfe/branches/Apple/whitney-IB/ClangBNI.mk (original)
+++ cfe/branches/Apple/whitney-IB/ClangBNI.mk Fri Jun 11 10:13:16 2010
@@ -204,6 +204,8 @@
# Set install and build targets.
Install_Target = $(Clang_Make_Variables) $(LLVM_Install_Target)
Build_Target = $(Clang_Make_Variables) $(Clang_Build_Target)
+Install_Target_Stage1 = $(Clang_Make_Variables) install-clang
+Build_Target_Stage1 = $(Clang_Make_Variables) clang-only
# Set default target.
@@ -359,8 +361,8 @@
build-clang_stage1: configure-clang_stage1
$(_v) for arch in $(RC_ARCHS) ; do \
echo "Building (Stage 1) for $$arch..." && \
- $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch clang-only || exit 1; \
- $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch install-clang || exit 1; \
+ $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch $(Build_Target_Stage1) || exit 1; \
+ $(MAKE) -j$(SYSCTL) -C $(OBJROOT)/stage1-$$arch $(Install_Target_Stage1) || exit 1; \
done
configure-clang_final: $(Final_Configure_Target)
More information about the llvm-branch-commits
mailing list