mirror of
https://github.com/nodejs/node.git
synced 2025-12-28 07:50:41 +00:00
gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.
This commit is contained in:
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"', {
|
||||
|
||||
4
deps/openssl/openssl.gyp
vendored
4
deps/openssl/openssl.gyp
vendored
@ -16,6 +16,10 @@
|
||||
'_REENTRANT',
|
||||
],
|
||||
|
||||
'cflags!': [
|
||||
'-ansi'
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
['OS=="win"', {
|
||||
'defines': [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user