Revert 76080. This broke some powerpc cross compiles.
authorBob Wilson <bob.wilson@apple.com>
Fri, 28 Aug 2009 00:10:15 +0000 (00:10 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 28 Aug 2009 00:10:15 +0000 (00:10 +0000)
It also makes the llvmCore build dependent on whatever version of llvm-gcc
happens to be installed on the build machine.

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

utils/buildit/build_llvm

index e432e5b7254391310bc8e0a5329e6dc01e1b46d7..5458002e350fe7925cba1bd9dccb3bfe6f6a712c 100755 (executable)
@@ -56,11 +56,8 @@ DIR=`pwd`
 DARWIN_VERS=`uname -r | sed 's/\..*//'`
 echo DARWIN_VERS = $DARWIN_VERS
 
-# If we can find an LLVM-GCC, prefer it.
-export CC=/Developer/usr/bin/llvm-gcc
-if [ ! -x $CC ] ; then unset CC ; fi
-export CXX=/Developer/usr/bin/llvm-g++
-if [ ! -x $CXX ] ; then unset CXX ; fi
+# If the user has CC set in their environment unset it now
+unset CC
 
 if [ "x$RC_ProjectName" = "xllvmCore_Embedded" ]; then
     DT_HOME=$DEST_DIR/Developer/Platforms/iPhoneOS.platform/Developer/usr