summaryrefslogtreecommitdiffstats
path: root/utils/buildit
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-08-09 23:59:05 +0000
committerEric Christopher <echristo@apple.com>2011-08-09 23:59:05 +0000
commit125feacf5b648fee1f3b7e485dad8f74a738ed2e (patch)
tree49c2fc49422c306470eee6a9c344b4a51a76d695 /utils/buildit
parentc66d36028b21077aa1715331c22347b47b4da94f (diff)
downloadexternal_llvm-125feacf5b648fee1f3b7e485dad8f74a738ed2e.zip
external_llvm-125feacf5b648fee1f3b7e485dad8f74a738ed2e.tar.gz
external_llvm-125feacf5b648fee1f3b7e485dad8f74a738ed2e.tar.bz2
clang is the new black.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/buildit')
-rwxr-xr-xutils/buildit/build_llvm8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 5665e4c..b8dc533 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -110,15 +110,15 @@ if [ "$ARM_HOSTED_BUILD" = yes ]; then
done
PATH=$DIR/bin:$PATH
-# otherwise, try to use llvm-gcc if it's available
+# 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 LLVM-GCC/LLVM-G++ if available; if LLVM is 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 llvm-gcc)
+ XTMPCC=$(which clang)
if [ x$CC = x -a x$XTMPCC != x ] ; then export CC=$XTMPCC ; fi
- XTMPCC=$(which llvm-g++)
+ XTMPCC=$(which clang++)
if [ x$CXX = x -a x$XTMPCC != x ] ; then export CXX=$XTMPCC ; fi
PATH=$savedPATH
unset XTMPCC savedPATH