| Index: build/standalone.gypi
|
| diff --git a/build/standalone.gypi b/build/standalone.gypi
|
| index 4297f5c84a0507dfdc8ae0cd0c2a06205e054e9d..86f6d46092421a41545421306e8687eb4c93e901 100644
|
| --- a/build/standalone.gypi
|
| +++ b/build/standalone.gypi
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 2011 the V8 project authors. All rights reserved.
|
| +# Copyright 2012 the V8 project authors. All rights reserved.
|
| # Redistribution and use in source and binary forms, with or without
|
| # modification, are permitted provided that the following conditions are
|
| # met:
|
| @@ -37,13 +37,16 @@
|
| 'variables': {
|
| 'variables': {
|
| 'conditions': [
|
| - [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
|
| - # This handles the Linux 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.
|
| + ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
|
| + # This handles the Linux 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.
|
| 'host_arch%':
|
| - '<!(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"
|
| + '<!(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"
|
| 'host_arch%': 'ia32',
|
| }],
|
| ],
|
| @@ -78,7 +81,8 @@
|
| },
|
| },
|
| 'conditions': [
|
| - [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
|
| + ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
|
| + or OS=="netbsd"', {
|
| 'target_defaults': {
|
| 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
|
| '-Wnon-virtual-dtor', '-pthread', '-fno-rtti',
|
| @@ -96,7 +100,9 @@
|
| }],
|
| ],
|
| },
|
| - }], # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"'
|
| + }],
|
| + # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"
|
| + # or OS=="netbsd"'
|
| ['OS=="win"', {
|
| 'target_defaults': {
|
| 'defines': [
|
|
|