summaryrefslogtreecommitdiffstats
path: root/godot/build-iphone
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-10-07 21:00:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-10-07 21:00:17 +0200
commit156befdeddf1243073369a5fed0baa7050a363e1 (patch)
treed7c0a3dc9a4c9871446d4df06e853c173b5e57f4 /godot/build-iphone
parent71c1550e14b45e74fae5d21ed578fd452f0c3bcc (diff)
downloadbin-156befdeddf1243073369a5fed0baa7050a363e1.zip
bin-156befdeddf1243073369a5fed0baa7050a363e1.tar.gz
build-iphone : add x86_64 target
Diffstat (limited to 'godot/build-iphone')
-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/