Skip to content

Commit d2f44a7

Browse files
evanlucasaddaleax
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 f6c0b27 commit d2f44a7

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
@@ -500,6 +500,14 @@
500500
['target_arch=="x64"', {
501501
'xcode_settings': {'ARCHS': ['x86_64']},
502502
}],
503+
['target_arch=="arm64"', {
504+
'xcode_settings': {
505+
'ARCHS': ['arm64'],
506+
'OTHER_LDFLAGS!': [
507+
'-Wl,-no_pie',
508+
],
509+
},
510+
}],
503511
['clang==1', {
504512
'xcode_settings': {
505513
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',

0 commit comments

Comments
 (0)