[llvm-commits] [llvm-gcc-4.2] r137729 - /llvm-gcc-4.2/trunk/build_gcc
Eric Christopher
echristo at apple.com
Tue Aug 16 10:46:44 PDT 2011
Author: echristo
Date: Tue Aug 16 12:46:44 2011
New Revision: 137729
URL: http://llvm.org/viewvc/llvm-project?rev=137729&view=rev
Log:
Lots of clang as the new black.
Modified:
llvm-gcc-4.2/trunk/build_gcc
Modified: llvm-gcc-4.2/trunk/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/build_gcc?rev=137729&r1=137728&r2=137729&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Tue Aug 16 12:46:44 2011
@@ -258,12 +258,12 @@
# LLVM LOCAL end
# 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 forcedCC=1 ; fi
-XTMPCC=$(which llvm-g++)
+XTMPCC=$(which clang++)
if [ x$CXX = x -a x$XTMPCC != x ] ; then export CXX=$XTMPCC forcedCXX=1 ; fi
PATH=$savedPATH
unset XTMPCC savedPATH
More information about the llvm-commits
mailing list