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" ]


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to