diff --git a/common.gypi b/common.gypi index 0025a6782f36a2..4dd3f2b2efb1b8 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',