mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 00:11:00 +00:00
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
This commit is contained in:
parent
50608bac2f
commit
17fc13f00a
@ -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…
Reference in New Issue
Block a user