]> git.saurik.com Git - cycript.git/commitdiff
Switch from gcc to clang (Apple is incompetent).
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 9 Sep 2013 17:52:20 +0000 (10:52 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 9 Sep 2013 17:52:20 +0000 (10:52 -0700)
xcode.sh

index 67d2a74b8bd3ebc516a23a13a5d583b6e76e01cf..8646162ca79db35ba1111ef2e0a2f96025263e5b 100755 (executable)
--- a/xcode.sh
+++ b/xcode.sh
@@ -52,8 +52,8 @@ function configure() {
     local flg=$3
     shift 3
 
-    cc=$(xcrun --sdk "${sdk}" -f gcc)
-    cxx=$(xcrun --sdk "${sdk}" -f g++)
+    cc=$(xcrun --sdk "${sdk}" -f clang)
+    cxx=$(xcrun --sdk "${sdk}" -f clang++)
     flg+=" -isysroot $(path "${sdk}")"
 
     rm -rf build."${dir}"