mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-21 04:41:34 +00:00
Look for llvm-gcc under /Developer/usr/bin first.
llvm-svn: 86023
This commit is contained in:
parent
801415706c
commit
e83f2304f2
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user