diff --git a/worker/common.gypi b/worker/common.gypi index 013bea721a..265b6125ef 100644 --- a/worker/common.gypi +++ b/worker/common.gypi @@ -66,6 +66,9 @@ [ 'target_arch == "x64"', { 'xcode_settings': { 'ARCHS': [ 'x86_64' ] } }], + [ 'target_arch == "arm64"', { + 'xcode_settings': { 'ARCHS': [ 'arm64' ] } + }], [ 'OS in "linux freebsd openbsd solaris"', { 'target_conditions': [ diff --git a/worker/scripts/configure.py b/worker/scripts/configure.py index 898931a403..47fbd3cac7 100755 --- a/worker/scripts/configure.py +++ b/worker/scripts/configure.py @@ -28,6 +28,7 @@ def host_arch(): if machine == 'i386': return 'ia32' if machine == 'x86_64': return 'x64' if machine == 'aarch64': return 'arm64' + if machine == 'arm64': return 'arm64' if machine == 'mips64': return 'mips64el' if machine.startswith('arm'): return 'arm' if machine.startswith('mips'): return 'mips'