build: add support for build on arm64
Ref: https://github.com/nodejs/TSC/issues/886 Ref: https://github.com/nodejs/node/issues/34043 PR-URL: https://github.com/nodejs/node/pull/34238 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ash Cripps <ashley.cripps@ibm.com>
This commit is contained in:
parent
d06ff289a0
commit
e3b79e3bbe
@ -491,6 +491,14 @@
|
|||||||
['target_arch=="x64"', {
|
['target_arch=="x64"', {
|
||||||
'xcode_settings': {'ARCHS': ['x86_64']},
|
'xcode_settings': {'ARCHS': ['x86_64']},
|
||||||
}],
|
}],
|
||||||
|
['target_arch=="arm64"', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'ARCHS': ['arm64'],
|
||||||
|
'OTHER_LDFLAGS!': [
|
||||||
|
'-Wl,-no_pie',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}],
|
||||||
['clang==1', {
|
['clang==1', {
|
||||||
'xcode_settings': {
|
'xcode_settings': {
|
||||||
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
|
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user