This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

build: use proper `-arch` for target_arch on OS X

  • Loading branch information...
1 parent af4a96c commit 546870edd8779db78d687a751d716c293928089d @TooTallNate TooTallNate committed with bnoordhuis Feb 18, 2012
Showing with 8 additions and 0 deletions.
  1. +8 −0 common.gypi
View
@@ -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']},
+ }],
+ ],
}],
],
}

0 comments on commit 546870e

Please sign in to comment.