From d9d5b4492b93ff0d79b37fe82d47e7df5daaa4bc Mon Sep 17 00:00:00 2001 From: Dave Zarzycki Date: Wed, 22 Feb 2012 00:20:30 +0000 Subject: Use Xcode relative compilers when possible llvm-svn: 151108 --- libcxx/test/testit | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libcxx/test') 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" ] -- cgit v1.2.3