GYP build: Provide automatic host_arch detection on Mac
TEST="make x64.release" works fine on MacOS Review URL: https://chromiumcodereview.appspot.com/10310123 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11547 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1819105559
commit
db6c266c53
@ -37,8 +37,9 @@
|
||||
'variables': {
|
||||
'variables': {
|
||||
'conditions': [
|
||||
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
|
||||
# This handles the Linux platforms we generally deal with.
|
||||
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \
|
||||
OS=="netbsd" or OS=="mac"', {
|
||||
# This handles the Unix platforms we generally deal with.
|
||||
# Anything else gets passed through, which probably won't work
|
||||
# very well; such hosts should pass an explicit target_arch
|
||||
# to gyp.
|
||||
@ -46,7 +47,8 @@
|
||||
'<!(uname -m | sed -e "s/i.86/ia32/;\
|
||||
s/x86_64/x64/;s/amd64/x64/;s/arm.*/arm/;s/mips.*/mips/")',
|
||||
}, {
|
||||
# OS!="linux" and OS!="freebsd" and OS!="openbsd" and OS!="netbsd"
|
||||
# OS!="linux" and OS!="freebsd" and OS!="openbsd" and
|
||||
# OS!="netbsd" and OS!="mac"
|
||||
'host_arch%': 'ia32',
|
||||
}],
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user