From: Nathan Rajlich Date: Sat, 18 Feb 2012 20:03:47 +0000 (-0800) Subject: build: use proper `-arch` for target_arch on OS X X-Git-Tag: v0.7.5~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=546870edd8779db78d687a751d716c293928089d;p=platform%2Fupstream%2Fnodejs.git build: use proper `-arch` for target_arch on OS X --- diff --git a/common.gypi b/common.gypi index 6640578..00fad43 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']}, + }], + ], }], ], }