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.

Fixes: nodejs#18983 (partially)
  • Loading branch information
bnoordhuis committed Feb 27, 2018
1 parent 8b518ed commit 178ece8
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 178ece8

Please sign in to comment.