From 318a51149522732ae2e3ec5dda40a917eb7538a0 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 21 Jul 2008 18:33:09 +0000 Subject: [PATCH] Temporary hack to build with GCC 4.0 instead of 4.2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53860 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/buildit/build_llvm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm index e4de0b59688..1a6d9ce944b 100755 --- a/utils/buildit/build_llvm +++ b/utils/buildit/build_llvm @@ -138,7 +138,8 @@ fi make $JOBS_FLAG $OPTIMIZE_OPTS UNIVERSAL=1 UNIVERSAL_ARCH="$TARGETS" \ LLVM_SUBMIT_VERSION=$LLVM_SUBMIT_VERSION \ LLVM_SUBMIT_SUBVERSION=$LLVM_SUBMIT_SUBVERSION \ - CXXFLAGS="-DLLVM_VERSION_INFO='\" Apple Build #$LLVM_VERSION\"'" + CXXFLAGS="-DLLVM_VERSION_INFO='\" Apple Build #$LLVM_VERSION\"'" \ + CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 if ! test $? == 0 ; then echo "error: LLVM 'make' failed!" -- 2.34.1