Use Xcode relative compilers when possible
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7786188d15
commit
b9344c218b
@ -10,7 +10,12 @@
|
|||||||
|
|
||||||
if [ -z $CC ]
|
if [ -z $CC ]
|
||||||
then
|
then
|
||||||
CC=clang++
|
if which xcrun >/dev/null
|
||||||
|
then
|
||||||
|
CC="xcrun clang++"
|
||||||
|
else
|
||||||
|
CC=clang++
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$OPTIONS" ]
|
if [ -z "$OPTIONS" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user