mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
In an Apple-style build, compile with llvm-gcc/llvm-g++ if available.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76080 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9377386493
commit
021da14dac
@ -56,8 +56,11 @@ DIR=`pwd`
|
|||||||
DARWIN_VERS=`uname -r | sed 's/\..*//'`
|
DARWIN_VERS=`uname -r | sed 's/\..*//'`
|
||||||
echo DARWIN_VERS = $DARWIN_VERS
|
echo DARWIN_VERS = $DARWIN_VERS
|
||||||
|
|
||||||
# If the user has CC set in their environment unset it now
|
# If we can find an LLVM-GCC, prefer it.
|
||||||
unset CC
|
export CC=/Developer/usr/bin/llvm-gcc
|
||||||
|
if [ ! -x $CC ] ; then unset CC ; fi
|
||||||
|
export CXX=/Developer/usr/bin/llvm-g++
|
||||||
|
if [ ! -x $CXX ] ; then unset CXX ; fi
|
||||||
|
|
||||||
DT_HOME=$DEST_DIR/Developer/usr
|
DT_HOME=$DEST_DIR/Developer/usr
|
||||||
DEST_ROOT="/Developer$DEST_ROOT"
|
DEST_ROOT="/Developer$DEST_ROOT"
|
||||||
|
Loading…
Reference in New Issue
Block a user