[llvm-branch-commits] [llvm-gcc-branch] r137312 - /llvm-gcc-4.2/branches/Apple/Morbo/build_gcc

Eric Christopher echristo at apple.com
Thu Aug 11 09:57:37 PDT 2011


Author: echristo
Date: Thu Aug 11 11:57:37 2011
New Revision: 137312

URL: http://llvm.org/viewvc/llvm-project?rev=137312&view=rev
Log:
clang is the new black.

Modified:
    llvm-gcc-4.2/branches/Apple/Morbo/build_gcc

Modified: llvm-gcc-4.2/branches/Apple/Morbo/build_gcc
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Morbo/build_gcc?rev=137312&r1=137311&r2=137312&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Morbo/build_gcc (original)
+++ llvm-gcc-4.2/branches/Apple/Morbo/build_gcc Thu Aug 11 11:57:37 2011
@@ -265,12 +265,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-branch-commits mailing list