mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-27 13:29:50 +00:00
We now look for clang, then llvm-gcc, then gcc as our compiler. We don't need
this anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139935 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42634836e9
commit
48dbeecd7e
@ -110,18 +110,6 @@ if [ "$ARM_HOSTED_BUILD" = yes ]; then
|
|||||||
done
|
done
|
||||||
|
|
||||||
PATH=$DIR/bin:$PATH
|
PATH=$DIR/bin:$PATH
|
||||||
# otherwise, try to use clang if it's available
|
|
||||||
elif [ $DARWIN_VERS -gt 9 ]; then
|
|
||||||
# If the user has set CC or CXX, respect their wishes. If 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 clang)
|
|
||||||
if [ x$CC = x -a x$XTMPCC != x ] ; then export CC=$XTMPCC ; fi
|
|
||||||
XTMPCC=$(which clang++)
|
|
||||||
if [ x$CXX = x -a x$XTMPCC != x ] ; then export CXX=$XTMPCC ; fi
|
|
||||||
PATH=$savedPATH
|
|
||||||
unset XTMPCC savedPATH
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$ARM_HOSTED_BUILD" = yes ]; then
|
if [ "$ARM_HOSTED_BUILD" = yes ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user