mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 03:05:15 +00:00
In an Apple-style build, compile with llvm-gcc/llvm-g++ if available.
llvm-svn: 76080
This commit is contained in:
parent
69d03cf2ee
commit
a32ebacb77
@ -56,8 +56,11 @@ DIR=`pwd`
|
||||
DARWIN_VERS=`uname -r | sed 's/\..*//'`
|
||||
echo DARWIN_VERS = $DARWIN_VERS
|
||||
|
||||
# If the user has CC set in their environment unset it now
|
||||
unset CC
|
||||
# If we can find an LLVM-GCC, prefer it.
|
||||
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
|
||||
DEST_ROOT="/Developer$DEST_ROOT"
|
||||
|
Loading…
x
Reference in New Issue
Block a user