summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/cross-ios-arm64.cbc5
-rw-r--r--config/ios.config5
2 files changed, 9 insertions, 1 deletions
diff --git a/config/cross-ios-arm64.cbc b/config/cross-ios-arm64.cbc
new file mode 100644
index 00000000..9b64ad8e
--- /dev/null
+++ b/config/cross-ios-arm64.cbc
@@ -0,0 +1,5 @@
+from cerbero.config import Platform, Architecture, Distro, DistroVersion
+
+target_platform=Platform.IOS
+target_arch=Architecture.ARM64
+target_distro=Distro.IOS
diff --git a/config/ios.config b/config/ios.config
index 8b43f990..4d3d65ae 100644
--- a/config/ios.config
+++ b/config/ios.config
@@ -53,7 +53,10 @@ else:
ccache = use_ccache and 'ccache ' or ''
extra_cflags='-Wall -g -Os'
-if target_arch == Architecture.ARMv7S:
+if target_arch == Architecture.ARM64:
+ arch_cflags = ' -arch arm64 -pipe'
+ host = 'aarch64-apple-darwin10'
+elif target_arch == Architecture.ARMv7S:
arch_cflags = ' -arch armv7s -mcpu=cortex-a9 -pipe'
host = 'arm-apple-darwin10'
elif target_arch == Architecture.ARMv7: