Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in Open…
Browse files Browse the repository at this point in the history
…SSL builds.
  • Loading branch information
evmar authored and ry committed Aug 23, 2011
1 parent a916d88 commit 8a29e5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common.gypi
Expand Up @@ -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"', {
Expand Down
4 changes: 4 additions & 0 deletions deps/openssl/openssl.gyp
Expand Up @@ -16,6 +16,10 @@
'_REENTRANT',
],

'cflags!': [
'-ansi'
],

'conditions': [
['OS=="win"', {
'defines': [
Expand Down

0 comments on commit 8a29e5e

Please sign in to comment.