From b9344c218b0588e146181306a9743b6a4fd79717 Mon Sep 17 00:00:00 2001 From: Dave Zarzycki <zarzycki@apple.com> Date: Wed, 22 Feb 2012 00:20:30 +0000 Subject: [PATCH] Use Xcode relative compilers when possible git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151108 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/testit | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/testit b/test/testit index d30e78c6..774f96fe 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" ]