summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-16 20:36:20 +0000
committerEric Christopher <echristo@apple.com>2011-09-16 20:36:20 +0000
commit48dbeecd7e3df35ef133161f7f931da6d179dbe9 (patch)
tree6de381b7ef12f601aeb28287dc442c89c4573294 /utils
parent42634836e999dfcb59f1f5ea50dfd33442be4b9a (diff)
downloadllvm-48dbeecd7e3df35ef133161f7f931da6d179dbe9.tar.gz
llvm-48dbeecd7e3df35ef133161f7f931da6d179dbe9.tar.bz2
llvm-48dbeecd7e3df35ef133161f7f931da6d179dbe9.tar.xz
We now look for clang, then llvm-gcc, then gcc as our compiler. We don't need
this anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139935 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/buildit/build_llvm12
1 files changed, 0 insertions, 12 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index ac543fc2ef..731ca6f28d 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -110,18 +110,6 @@ if [ "$ARM_HOSTED_BUILD" = yes ]; then
done
PATH=$DIR/bin:$PATH
-# otherwise, try to use clang if it's available
-elif [ $DARWIN_VERS -gt 9 ]; then
- # If the user has set CC or CXX, respect their wishes. If not,
- # compile with clang/clang++ if available; if LLVM is not
- # available, fall back to usual GCC/G++ default.
- savedPATH=$PATH ; PATH="/Developer/usr/bin:$PATH"
- XTMPCC=$(which clang)
- if [ x$CC = x -a x$XTMPCC != x ] ; then export CC=$XTMPCC ; fi
- XTMPCC=$(which clang++)
- if [ x$CXX = x -a x$XTMPCC != x ] ; then export CXX=$XTMPCC ; fi
- PATH=$savedPATH
- unset XTMPCC savedPATH
fi
if [ "$ARM_HOSTED_BUILD" = yes ]; then