X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/e9b51ae0c4a83549928672322ccb9948ab2c8968..62f398e4aed5b34ee2bd8edff9fb3afa80d75e25:/xcode.sh diff --git a/xcode.sh b/xcode.sh index 27019ce..45b2ea9 100755 --- a/xcode.sh +++ b/xcode.sh @@ -98,6 +98,7 @@ 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" @@ -107,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 \