projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af4a96c
)
build: use proper `-arch` for target_arch on OS X
author
Nathan Rajlich
<nathan@tootallnate.net>
Sat, 18 Feb 2012 20:03:47 +0000
(12:03 -0800)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 20 Feb 2012 10:49:32 +0000
(11:49 +0100)
common.gypi
patch
|
blob
|
history
diff --git
a/common.gypi
b/common.gypi
index
6640578
..
00fad43
100644
(file)
--- 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']},
+ }],
+ ],
}],
],
}