diff options
author | 2016-02-12 12:23:51 -0800 | |
---|---|---|
committer | 2016-02-12 12:23:51 -0800 | |
commit | 017f84ead8fe1709ecd9a9f7f532464d2a170ff9 (patch) | |
tree | 47cbeba507ab0b27ca046f01232a7ef4e0d3b5f6 /templates | |
parent | 5b026a4a4894b2b86a38b2d32c261490d1284434 (diff) | |
parent | f456b920994310ec9acb5be98f25a32edffcd2f3 (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.template | 6 |
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', |