build: silence OpenSSL Windows compiler warnings

Silence the following compiler warning on Windows:
`'function': different 'const' qualifiers`

PR-URL: https://github.com/nodejs/node/pull/31311
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
pull/31343/head
Richard Lau 2020-01-11 05:47:20 +00:00 committed by Ruben Bridgewater
parent 560df952c5
commit c643e3b572
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@
'cflags': [
'-W3', '-wd4090', '-Gs0', '-GF', '-Gy', '-nologo','/O2',
],
'msvs_disabled_warnings': [4090],
'link_settings': {
'libraries': [
'-lws2_32.lib',