]> git.saurik.com Git - ldid.git/blobdiff - ios.sh
Older versions of Apple's compiler give me errors.
[ldid.git] / ios.sh
diff --git a/ios.sh b/ios.sh
index 77a971b918265d67cb576f947d17b44f6924afc4..a9dae809e48d587abc5048e7959d36b973189672 100755 (executable)
--- a/ios.sh
+++ b/ios.sh
@@ -2,7 +2,9 @@
 
 set -e -x
 
-cycc -i2.0 -m10.4 -oldid.arm -- ldid.cpp -x c sha1.c lookup2.c -I .
+sudo xcode-select --switch /Applications/Xcode-4.6.3.app
+cycc -i2.0 -oldid.arm -- -c -std=c++11 ldid.cpp -I.
+cycc -i2.0 -oldid.arm -- ldid.arm -x c sha1.c lookup2.c -I .
 
 rm -rf _
 mkdir -p _/usr/bin