commit | de1dd4a67f6c3bb520a88fc75f1cb15cee9117aa | [log] [tgz] |
---|---|---|
author | Dave Zarzycki <zarzycki@apple.com> | Wed Feb 22 00:20:30 2012 +0000 |
committer | Dave Zarzycki <zarzycki@apple.com> | Wed Feb 22 00:20:30 2012 +0000 |
tree | f418219ee70089d580a34b5df5b55e9d1a5aef45 | |
parent | 86a291f098a77a403b852a6248e3cb46aba7b608 [diff] [blame] |
Use Xcode relative compilers when possible llvm-svn: 151108 Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project Cr-Mirrored-Commit: d9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc
diff --git a/test/testit b/test/testit index d30e78c..774f96f 100755 --- a/test/testit +++ b/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" ]