mirror of https://github.com/nodejs/node.git
gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.
parent
a916d888f2
commit
8a29e5ea5b
|
@ -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"', {
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
'_REENTRANT',
|
||||
],
|
||||
|
||||
'cflags!': [
|
||||
'-ansi'
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
'defines': [
|
||||
|
|
Loading…
Reference in New Issue