Skip to content

Commit a938e52

Browse files
bnoordhuisaddaleax
authored andcommitted
build: disable openssl build warnings on macos
We already disable `-Wmissing-field-initializers` on other Unices but not on MacOS. PR-URL: #19046 Fixes: #18983 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Minwoo Jung <[email protected]>
1 parent f864509 commit a938e52

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/openssl/openssl.gyp

+3
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@
157157
}, {
158158
'defines': ['<@(openssl_default_defines_not_win)'],
159159
'cflags': ['-Wno-missing-field-initializers'],
160+
'xcode_settings': {
161+
'WARNING_CFLAGS': ['-Wno-missing-field-initializers'],
162+
},
160163
'conditions': [
161164
['OS=="mac"', {
162165
'defines': ['<@(openssl_default_defines_mac)'],

0 commit comments

Comments
 (0)