From 178ece835e8e849951de00364f3b83e0a22b90bc Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 27 Feb 2018 21:27:44 +0100 Subject: [PATCH] build: disable openssl build warnings on macos We already disable `-Wmissing-field-initializers` on other Unices but not on MacOS. Fixes: https://github.com/nodejs/node/issues/18983 (partially) --- deps/openssl/openssl.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deps/openssl/openssl.gyp b/deps/openssl/openssl.gyp index 88994a12b22097..170e5fb68bb503 100644 --- a/deps/openssl/openssl.gyp +++ b/deps/openssl/openssl.gyp @@ -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)'],