Skip to content

Commit d06e158

Browse files
evanlucasrichardlau
authored andcommitted
build: add support for build on arm64
Ref: nodejs/TSC#886 Ref: #34043 PR-URL: #34238 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ash Cripps <[email protected]>
1 parent f1fcd66 commit d06e158

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

common.gypi

+8
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,14 @@
491491
['target_arch=="x64"', {
492492
'xcode_settings': {'ARCHS': ['x86_64']},
493493
}],
494+
['target_arch=="arm64"', {
495+
'xcode_settings': {
496+
'ARCHS': ['arm64'],
497+
'OTHER_LDFLAGS!': [
498+
'-Wl,-no_pie',
499+
],
500+
},
501+
}],
494502
['clang==1', {
495503
'xcode_settings': {
496504
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',

0 commit comments

Comments
 (0)