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