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:
Dave Zarzycki 2012-02-22 00:20:30 +00:00
parent 7786188d15
commit b9344c218b

View File

@ -10,7 +10,12 @@
if [ -z $CC ]
then
CC=clang++
if which xcrun >/dev/null
then
CC="xcrun clang++"
else
CC=clang++
fi
fi
if [ -z "$OPTIONS" ]