Skip to content

Commit e3b79e3

Browse files
committed
build: add support for build on arm64
Ref: nodejs/TSC#886 Ref: nodejs#34043 PR-URL: nodejs#34238 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ash Cripps <ashley.cripps@ibm.com>
1 parent d06ff28 commit e3b79e3

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)