diff --git a/common.gypi b/common.gypi index 6640578c7e7..00fad438bc6 100644 --- a/common.gypi +++ b/common.gypi @@ -170,6 +170,14 @@ 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, }], ], + 'conditions': [ + ['target_arch=="ia32"', { + 'xcode_settings': {'ARCHS': ['i386']}, + }], + ['target_arch=="x64"', { + 'xcode_settings': {'ARCHS': ['x86_64']}, + }], + ], }], ], }