summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgodot/build-iphone7
1 files changed, 4 insertions, 3 deletions
diff --git a/godot/build-iphone b/godot/build-iphone
index cfaaee1..153fb6f 100755
--- a/godot/build-iphone
+++ b/godot/build-iphone
@@ -23,11 +23,12 @@ function build()
find godot -name \*.gen.cpp -delete
pushd godot
- scons -j $J platform=iphone arch=arm target=release_debug IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1
- scons -j $J platform=iphone arch=arm64 target=release_debug IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1
+ scons -j $J platform=iphone arch=arm target=release IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1
+ scons -j $J platform=iphone arch=arm64 target=release IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1
+ # scons -j $J platform=iphone arch=x86_64 target=release IPHONESDK=$DIR/iPhoneOS9.1.sdk IPHONEPATH=$TOOLCHAIN ios_triple=arm-apple-darwin11- || return 1
for module in libgodot libgodot_camera_module libgodot_arkit_module
do
- $TOOLCHAIN/arm-apple-darwin11-lipo -create bin/$module.iphone.opt.debug.arm.a bin/$module.iphone.opt.debug.arm64.a -output bin/$module.iphone.debug.fat.a
+ $TOOLCHAIN/arm-apple-darwin11-lipo -create bin/$module.iphone.opt.arm.a bin/$module.iphone.opt.arm64.a -output bin/$module.iphone.fat.a
done
popd
mkdir iphone-$VERSION && mv godot/bin/libgodot* iphone-$VERSION/