[llvm-commits] [llvm-gcc-4.2] r86168 - /llvm-gcc-4.2/trunk/build_gcc

Evan Cheng evan.cheng at apple.com
Thu Nov 5 12:16:28 PST 2009


Author: evancheng
Date: Thu Nov  5 14:16:28 2009
New Revision: 86168

URL: http://llvm.org/viewvc/llvm-project?rev=86168&view=rev
Log:
Look for llvm-gcc under /Developer/usr/bin first.

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=86168&r1=86167&r2=86168&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/build_gcc (original)
+++ llvm-gcc-4.2/trunk/build_gcc Thu Nov  5 14:16:28 2009
@@ -266,7 +266,7 @@
 # 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
 # available, fall back to usual GCC/G++ default.
-savedPATH=$PATH ; PATH="$PATH:/Developer/usr/bin"
+savedPATH=$PATH ; PATH="/Developer/usr/bin:$PATH"
 XTMPCC=$(which llvm-gcc)
 if [ x$CC  = x -a x$XTMPCC != x ] ; then export CC=$XTMPCC  forcedCC=1  ; fi
 XTMPCC=$(which llvm-g++)





More information about the llvm-commits mailing list