summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-08-28 00:10:15 +0000
committerBob Wilson <bob.wilson@apple.com>2009-08-28 00:10:15 +0000
commitd5816396453bc3073d29ce15060976def87826f9 (patch)
treebbee27f1c4345879b65f0f3f5f59569df3280d40 /llvm/utils
parentd032fcce5c9998f3bc96feb8a33362ad01215697 (diff)
downloadbcm5719-llvm-d5816396453bc3073d29ce15060976def87826f9.tar.gz
bcm5719-llvm-d5816396453bc3073d29ce15060976def87826f9.zip
Revert 76080. This broke some powerpc cross compiles.
It also makes the llvmCore build dependent on whatever version of llvm-gcc happens to be installed on the build machine. llvm-svn: 80316
Diffstat (limited to 'llvm/utils')
-rwxr-xr-xllvm/utils/buildit/build_llvm7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/utils/buildit/build_llvm b/llvm/utils/buildit/build_llvm
index e432e5b7254..5458002e350 100755
--- a/llvm/utils/buildit/build_llvm
+++ b/llvm/utils/buildit/build_llvm
@@ -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
OpenPOWER on IntegriCloud