aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-02-12 12:23:51 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-02-12 12:23:51 -0800
commit017f84ead8fe1709ecd9a9f7f532464d2a170ff9 (patch)
tree47cbeba507ab0b27ca046f01232a7ef4e0d3b5f6 /templates
parent5b026a4a4894b2b86a38b2d32c261490d1284434 (diff)
parentf456b920994310ec9acb5be98f25a32edffcd2f3 (diff)
Merge pull request #5078 from ctiller/compatibility_mode
Make binary compatibility not the default
Diffstat (limited to 'templates')
-rw-r--r--templates/binding.gyp.template6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/binding.gyp.template b/templates/binding.gyp.template
index 7cee562caa..3ffbc06643 100644
--- a/templates/binding.gyp.template
+++ b/templates/binding.gyp.template
@@ -57,7 +57,8 @@
'UNICODE',
'_UNICODE',
'NOMINMAX',
- 'OPENSSL_NO_ASM'
+ 'OPENSSL_NO_ASM',
+ 'GPR_BACKWARDS_COMPATIBILITY_MODE'
],
"msvs_settings": {
'VCCLCompilerTool': {
@@ -80,7 +81,8 @@
# supports ALPN. The target is "[major].[minor].[patch]". We split by
# periods and take the first field to get the major version.
'defines': [
- 'TSI_OPENSSL_ALPN_SUPPORT=<!(echo <(target) | cut -d. -f1)'
+ 'TSI_OPENSSL_ALPN_SUPPORT=<!(echo <(target) | cut -d. -f1)',
+ 'GPR_BACKWARDS_COMPATIBILITY_MODE'
],
'include_dirs': [
'<(node_root_dir)/deps/openssl/openssl/include',