summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2023-05-18 12:01:58 +0000
committermartin <martin@NetBSD.org>2023-05-18 12:01:58 +0000
commit95e62aba8e19ba75c74006aab50ebda033eaa5fa (patch)
treee36dcca43b0df028b1ff1b855059451145db3626 /crypto
parent72bbd2a08c6386cb700d86b1d9f489255c9d6425 (diff)
Make "shadow" warnings non-fatal for now (triggered by lots BN_* macros).
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile.openssl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/Makefile.openssl b/crypto/Makefile.openssl
index dfd4aaa140c..03fcfadc396 100644
--- a/crypto/Makefile.openssl
+++ b/crypto/Makefile.openssl
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.openssl,v 1.14 2023/05/17 19:10:04 christos Exp $
+# $NetBSD: Makefile.openssl,v 1.15 2023/05/18 12:01:58 martin Exp $
.ifndef _MAKEFILE_OPENSSL_INCLUDED
_MAKEFILE_OPENSSL_INCLUDED=1
@@ -8,6 +8,7 @@ WARNS=3
# would require changing a lot of code
COPTS+= -Wno-error=cast-qual -Wno-error=discarded-qualifiers
COPTS+= -Wno-error=missing-field-initializers -Wno-error=char-subscripts
+COPTS+= -Wno-error=shadow
.if ${HAVE_OPENSSL} <= 11