summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-04 08:36:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-04 08:36:50 +0000
commit17fc13f00a7eed83cb8259c0594403fcae7fb492 (patch)
treedd986f2231f208cb0a3199f73c24a83db754c399 /utils
parent50608bac2fe1d3eb4753b6acdac06292eae7b980 (diff)
downloadllvm-17fc13f00a7eed83cb8259c0594403fcae7fb492.tar.gz
llvm-17fc13f00a7eed83cb8259c0594403fcae7fb492.tar.bz2
llvm-17fc13f00a7eed83cb8259c0594403fcae7fb492.tar.xz
Look for llvm-gcc under /Developer/usr/bin first.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/buildit/build_llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/buildit/build_llvm b/utils/buildit/build_llvm
index 4fdc77039a..9168d1a485 100755
--- a/utils/buildit/build_llvm
+++ b/utils/buildit/build_llvm
@@ -127,7 +127,7 @@ 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
# 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 ; fi
XTMPCC=$(which llvm-g++)