diff --git a/common.gypi b/common.gypi index 0a6024958..c3d9527cc 100644 --- a/common.gypi +++ b/common.gypi @@ -172,6 +172,14 @@ '-Wno-unused-parameter', ], }, + 'conditions': [ + ['target_arch=="ia32"', { + 'xcode_settings': {'ARCHS': ['i386']}, + }], + ['target_arch=="x64"', { + 'xcode_settings': {'ARCHS': ['x86_64']}, + }], + ], 'target_conditions': [ ['_type!="static_library"', { 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},