[cfe-commits] [libcxx] r151108 - /libcxx/trunk/test/testit
Dave Zarzycki
zarzycki at apple.com
Tue Feb 21 16:20:30 PST 2012
Author: zarzycki
Date: Tue Feb 21 18:20:30 2012
New Revision: 151108
URL: http://llvm.org/viewvc/llvm-project?rev=151108&view=rev
Log:
Use Xcode relative compilers when possible
Modified:
libcxx/trunk/test/testit
Modified: libcxx/trunk/test/testit
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/testit?rev=151108&r1=151107&r2=151108&view=diff
==============================================================================
--- libcxx/trunk/test/testit (original)
+++ libcxx/trunk/test/testit Tue Feb 21 18:20:30 2012
@@ -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" ]
More information about the cfe-commits
mailing list