★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/d06e158253Nouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files
build: add support for build on arm64
Ref: nodejs/TSC#886
Ref: #34043

PR-URL: #34238
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ash Cripps <ashley.cripps@ibm.com>
  • Loading branch information
evanlucas authored and richardlau committed Sep 1, 2020
1 parent f1fcd66 commit d06e1582539a40b486a645f99c4daf9f800db03c
Showing with 8 additions and 0 deletions.
  1. +8 −0 common.gypi
@@ -491,6 +491,14 @@
['target_arch=="x64"', {
'xcode_settings': {'ARCHS': ['x86_64']},
}],
['target_arch=="arm64"', {
'xcode_settings': {
'ARCHS': ['arm64'],
'OTHER_LDFLAGS!': [
'-Wl,-no_pie',
],
},
}],
['clang==1', {
'xcode_settings': {
'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',

0 comments on commit d06e158

Please sign in to comment.