Unverified 提交 c84dfd37 authored 作者: José Luis Millán's avatar José Luis Millán 提交者: GitHub

worker: M1 compilable (#548)

上级 719cca55
...@@ -66,6 +66,9 @@ ...@@ -66,6 +66,9 @@
[ 'target_arch == "x64"', { [ 'target_arch == "x64"', {
'xcode_settings': { 'ARCHS': [ 'x86_64' ] } 'xcode_settings': { 'ARCHS': [ 'x86_64' ] }
}], }],
[ 'target_arch == "arm64"', {
'xcode_settings': { 'ARCHS': [ 'arm64' ] }
}],
[ 'OS in "linux freebsd openbsd solaris"', { [ 'OS in "linux freebsd openbsd solaris"', {
'target_conditions': 'target_conditions':
[ [
......
...@@ -28,6 +28,7 @@ def host_arch(): ...@@ -28,6 +28,7 @@ def host_arch():
if machine == 'i386': return 'ia32' if machine == 'i386': return 'ia32'
if machine == 'x86_64': return 'x64' if machine == 'x86_64': return 'x64'
if machine == 'aarch64': return 'arm64' if machine == 'aarch64': return 'arm64'
if machine == 'arm64': return 'arm64'
if machine == 'mips64': return 'mips64el' if machine == 'mips64': return 'mips64el'
if machine.startswith('arm'): return 'arm' if machine.startswith('arm'): return 'arm'
if machine.startswith('mips'): return 'mips' if machine.startswith('mips'): return 'mips'
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论