@ -274,8 +274,7 @@
},
},
},
},
}],
}],
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
['OS in "linux freebsd dragonflybsd openbsd solaris netbsd".split()', {
or OS=="netbsd"', {
'conditions': [
'conditions': [
[ 'v8_no_strict_aliasing==1', {
[ 'v8_no_strict_aliasing==1', {
'cflags': [ '-fno-strict-aliasing' ],
'cflags': [ '-fno-strict-aliasing' ],
@ -285,8 +284,8 @@
['OS=="solaris"', {
['OS=="solaris"', {
'defines': [ '__C99FEATURES__=1' ], # isinf() etc.
'defines': [ '__C99FEATURES__=1' ], # isinf() etc.
}],
}],
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris " \
['(OS=="linux" or OS=="freebsd" or OS=="dragonflybsd" or OS=="openbsd " \
or OS=="netbsd" or OS=="mac" or OS=="android") and \
or OS=="solaris" or OS==" netbsd" or OS=="mac" or OS=="android") and \
(v8_target_arch=="arm" or v8_target_arch=="ia32" or \
(v8_target_arch=="arm" or v8_target_arch=="ia32" or \
v8_target_arch=="mipsel")', {
v8_target_arch=="mipsel")', {
# Check whether the host compiler and target compiler support the
# Check whether the host compiler and target compiler support the
@ -314,7 +313,7 @@
}],
}],
],
],
}],
}],
['OS=="freebsd" or OS=="openbsd"', {
['OS=="freebsd" or OS=="dragonflybsd" or OS==" openbsd"', {
'cflags': [ '-I/usr/local/include' ],
'cflags': [ '-I/usr/local/include' ],
}],
}],
['OS=="netbsd"', {
['OS=="netbsd"', {
@ -346,7 +345,7 @@
},
},
},
},
'conditions': [
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" ', {
['OS in "linux freebsd dragonflybsd openbsd netbsd".split() ', {
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
'-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
'-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
}],
}],
@ -368,8 +367,8 @@
}, # Debug
}, # Debug
'Release': {
'Release': {
'conditions': [
'conditions': [
['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="net bsd" \
['OS=="linux" or OS=="freebsd" or OS=="dragonfly bsd" \
or OS=="android"', {
or OS=="openbsd" or OS=="netbsd" or OS==" android"', {
'conditions': [
'conditions': [
[ 'gcc_version==44 and clang==0', {
[ 'gcc_version==44 and clang==0', {
'cflags': [
'cflags': [