diff options
author | Dave Zarzycki <zarzycki@apple.com> | 2012-02-22 00:20:30 +0000 |
---|---|---|
committer | Dave Zarzycki <zarzycki@apple.com> | 2012-02-22 00:20:30 +0000 |
commit | d9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc (patch) | |
tree | 582f2a9567ddc2692a52cda81a20f3d7eeb1547d /libcxx | |
parent | a7721f6b4de876cb905b2d22acfc442aca76630e (diff) | |
download | bcm5719-llvm-d9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc.tar.gz bcm5719-llvm-d9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc.zip |
Use Xcode relative compilers when possible
llvm-svn: 151108
Diffstat (limited to 'libcxx')
-rwxr-xr-x | libcxx/test/testit | 7 |
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" ] |