diff options
Diffstat (limited to 'libcxx/test')
| -rwxr-xr-x | libcxx/test/testit | 7 |
1 files changed, 6 insertions, 1 deletions
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" ] |

