]> git.saurik.com Git - cycript.git/blobdiff - xcode.sh
Make lexer start a comment with #! (for scripts).
[cycript.git] / xcode.sh
index d901f489f5318abfb04d72b36d1b9fc73cfc620f..45b2ea94e5fc9fa347ccbb70e703c0815a399de3 100755 (executable)
--- a/xcode.sh
+++ b/xcode.sh
@@ -98,6 +98,8 @@ for arch in armv6 armv7 armv7s arm64; do
     else
         flg+=(LTLIBAPR="../sysroot.ios/usr/lib/libapr-1.dylib")
         flg+=(LTLIBGCC="-lgcc_s.1")
+        cpf+=" -include ${PWD}/xcode.h"
+        cpf+=" -mllvm -arm-reserve-r9"
         cpf+=" -I../sysroot.ios/usr/include -I../sysroot.ios/usr/include/apr-1"
         ldf+=" -L../sysroot.ios/usr/lib"
     fi
@@ -106,6 +108,7 @@ for arch in armv6 armv7 armv7s arm64; do
         min=7.0
     else
         min=2.0
+        #cpf+=" -mthumb"
     fi
 
     build "ios-${arch}" iphoneos "-arch ${arch} -miphoneos-version-min=${min}" --host=arm-apple-darwin10 \