Skip to content

Commit

Permalink
build: disable openssl build warnings on macos
Browse files Browse the repository at this point in the history
We already disable `-Wmissing-field-initializers` on other Unices but
not on MacOS.

PR-URL: #19046
Fixes: #18983
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Minwoo Jung <minwoo@nodesource.com>
  • Loading branch information
bnoordhuis authored and MylesBorins committed Aug 17, 2018
1 parent d7b657f commit 20d805e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deps/openssl/openssl.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
}, {
'defines': ['<@(openssl_default_defines_not_win)'],
'cflags': ['-Wno-missing-field-initializers'],
'xcode_settings': {
'WARNING_CFLAGS': ['-Wno-missing-field-initializers'],
},
'conditions': [
['OS=="mac"', {
'defines': ['<@(openssl_default_defines_mac)'],
Expand Down

0 comments on commit 20d805e

Please sign in to comment.