Skip to content

Commit cb94bf0

Browse files
bnoordhuisapapirovski
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 8ed44ff commit cb94bf0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deps/openssl/openssl.gyp

Lines changed: 3 additions & 0 deletions
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)