From: Jay Freeman (saurik) Date: Mon, 9 Sep 2013 17:52:20 +0000 (-0700) Subject: Switch from gcc to clang (Apple is incompetent). X-Git-Tag: v0.9.500%b1~14 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/4af4085c10cc84c3c1ed47d46e24710fb85dc25c Switch from gcc to clang (Apple is incompetent). --- diff --git a/xcode.sh b/xcode.sh index 67d2a74..8646162 100755 --- 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}"