summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)