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 apapirovski committed Mar 4, 2018
1 parent 8ed44ff commit cb94bf0
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 cb94bf0

Please sign in to comment.