summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorDave Zarzycki <zarzycki@apple.com>2012-02-22 00:20:30 +0000
committerDave Zarzycki <zarzycki@apple.com>2012-02-22 00:20:30 +0000
commitd9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc (patch)
tree582f2a9567ddc2692a52cda81a20f3d7eeb1547d /libcxx
parenta7721f6b4de876cb905b2d22acfc442aca76630e (diff)
downloadbcm5719-llvm-d9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc.tar.gz
bcm5719-llvm-d9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc.zip
Use Xcode relative compilers when possible
llvm-svn: 151108
Diffstat (limited to 'libcxx')
-rwxr-xr-xlibcxx/test/testit7
1 files changed, 6 insertions, 1 deletions
diff --git a/libcxx/test/testit b/libcxx/test/testit
index d30e78c6ac7..774f96fe1d7 100755
--- a/libcxx/test/testit
+++ b/libcxx/test/testit
@@ -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" ]
OpenPOWER on IntegriCloud