diff options
author | Evan Martin <martine@danga.com> | 2011-08-23 11:04:08 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-23 13:19:17 -0700 |
commit | 8a29e5ea5b5a4aabeb2bff1f47540efe5724139f (patch) | |
tree | 0ec55cd3314f66c3f50ad87b839d8ecdd9bd57ab /common.gypi | |
parent | a916d888f2ea67e47e01d84500276c20149afea1 (diff) | |
download | node-new-8a29e5ea5b5a4aabeb2bff1f47540efe5724139f.tar.gz |
gyp: Don't pass C++ flags to C compiler, and don't pass -ansi in OpenSSL builds.
Diffstat (limited to 'common.gypi')
-rw-r--r-- | common.gypi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common.gypi b/common.gypi index 8cbb78f092..5ff4e142d2 100644 --- a/common.gypi +++ b/common.gypi @@ -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"', { |