gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.

pull/22966/head
Evan Martin 2011-08-23 11:04:08 -07:00 committed by Ryan Dahl
parent a916d888f2
commit 8a29e5ea5b
2 changed files with 6 additions and 1 deletions

View File

@ -104,7 +104,8 @@
],
}],
[ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
'cflags': [ '-Wall', '-pthread', '-fno-rtti', '-fno-exceptions' ],
'cflags': [ '-Wall', '-pthread', ],
'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
'ldflags': [ '-pthread', ],
'conditions': [
[ 'target_arch=="ia32"', {

View File

@ -16,6 +16,10 @@
'_REENTRANT',
],
'cflags!': [
'-ansi'
],
'conditions': [
['OS=="win"', {
'defines': [