summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-24 22:40:37 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-24 22:40:37 +0100
commitf619b7682b3ff3c6c307de8f1912a3141d6a9de7 (patch)
tree5bcd850b404f271cf24a3db2a82599e06187e466
parent0384c5740e5fb6cabce39183493e1d937479efb8 (diff)
Fix arm64 build.carlarm64
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index 51a10bb..62e924d 100644
--- a/cscript
+++ b/cscript
@@ -30,6 +30,8 @@ def build(target, options):
cmd += '--with-wasapi --with-ds --host=%s' % target.name
elif target.platform == 'osx':
cmd += '--with-core'
+ if target.arch == 'arm64':
+ cmd += ' --build=x86_64-apple-darwin --host=arm-apple-darwin'
target.command(cmd)
target.command('make -j%d' % target.parallel)