Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2020-07-07 15:35:32 +0300
committerEvan Lucas <evanlucas@me.com>2020-08-25 18:54:48 +0300
commite3b79e3bbe635fc7f57ff3df0c99dbb8f63ce05e (patch)
tree8fa76f575fac5335d9329ec29276f474982b1781 /common.gypi
parentd06ff289a058ff3ae97dc87456e9129f6d792a7f (diff)
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>
Diffstat (limited to 'common.gypi')
-rw-r--r--common.gypi8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.gypi b/common.gypi
index f5d6dc077a6..bd0213a3492 100644
--- a/common.gypi
+++ b/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',