|
Lines 1-29
Link Here
|
| 1 |
--- ./deps/openssl/openssl.gyp.orig 2012-10-24 12:21:44.000000000 -0400 |
|
|
| 2 |
+++ ./deps/openssl/openssl.gyp 2012-11-08 19:57:39.000000000 -0500 |
| 3 |
@@ -3,6 +3,11 @@ |
| 4 |
# found in the LICENSE file. |
| 5 |
|
| 6 |
{ |
| 7 |
+ 'variables': { |
| 8 |
+ 'is_clang': 0, |
| 9 |
+ 'gcc_version': 0, |
| 10 |
+ }, |
| 11 |
+ |
| 12 |
'targets': [ |
| 13 |
{ |
| 14 |
'target_name': 'openssl', |
| 15 |
@@ -674,10 +679,10 @@ |
| 16 |
'OPENSSLDIR="/etc/ssl"', |
| 17 |
'TERMIOS', |
| 18 |
], |
| 19 |
- 'cflags': [ |
| 20 |
- '-Wno-missing-field-initializers', |
| 21 |
- '-Wno-old-style-declaration', |
| 22 |
- ], |
| 23 |
+ 'cflags': ['-Wno-missing-field-initializers'], |
| 24 |
+ }], |
| 25 |
+ ['is_clang==1 or gcc_version>=43', { |
| 26 |
+ 'cflags': ['-Wno-old-style-declaration'], |
| 27 |
}], |
| 28 |
['OS=="solaris"', { |
| 29 |
'defines': ['__EXTENSIONS__'], |