X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8c0927fb9c0806a72f787373bad815716a0c8b4c..f6fa3c2112ee8b0aa26ab0765674601a9800db77:/xcode.sh?ds=inline diff --git a/xcode.sh b/xcode.sh index d2a070d..45b2ea9 100755 --- a/xcode.sh +++ b/xcode.sh @@ -97,7 +97,9 @@ for arch in armv6 armv7 armv7s arm64; do flg+=(--disable-console) else flg+=(LTLIBAPR="../sysroot.ios/usr/lib/libapr-1.dylib") - flg+=(LTLIBGCC="-lgcc_s.1") #-L${xcs}/Platforms/iPhoneOS.platform/Developer/usr/llvm-gcc-4.2/lib/gcc/arm-apple-darwin10/4.2.1/v6 -lgcc_eh") + 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 \