From f233cb2c29007ecb2e3bdeca2053df266c47994c Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Tue, 19 Oct 2021 16:40:42 +0200 Subject: [PATCH] deps: attempt to suppress macro-redefined warning PR-URL: https://github.com/nodejs/node/pull/40518 Refs: https://github.com/nodejs/node/issues/40509 Reviewed-By: Richard Lau Reviewed-By: Beth Griggs --- deps/openssl/openssl.gypi | 2 -- deps/openssl/openssl_common.gypi | 1 - 2 files changed, 3 deletions(-) diff --git a/deps/openssl/openssl.gypi b/deps/openssl/openssl.gypi index af08a33c9c445b..f590067c8d09c9 100644 --- a/deps/openssl/openssl.gypi +++ b/deps/openssl/openssl.gypi @@ -1292,13 +1292,11 @@ # Set to ubuntu default path for convenience. If necessary, # override this at runtime with the SSL_CERT_DIR environment # variable. - 'OPENSSLDIR="/System/Library/OpenSSL/"', ], 'openssl_default_defines_linux_others': [ # Set to ubuntu default path for convenience. If necessary, # override this at runtime with the SSL_CERT_DIR environment # variable. - 'OPENSSLDIR="/etc/ssl"', ] } } diff --git a/deps/openssl/openssl_common.gypi b/deps/openssl/openssl_common.gypi index 30f5936981dcfd..3dedc5065bf415 100644 --- a/deps/openssl/openssl_common.gypi +++ b/deps/openssl/openssl_common.gypi @@ -49,7 +49,6 @@ 'WARNING_CFLAGS': ['-Wno-missing-field-initializers'] }, 'defines': [ - 'OPENSSLDIR="/System/Library/OpenSSL/"', 'ENGINESDIR="/dev/null"', ], }, 'OS=="solaris"', {