summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2023-05-17 19:10:04 +0000
committerchristos <christos@NetBSD.org>2023-05-17 19:10:04 +0000
commitd591dc4944ab20cc49bc1681f37bbfa79ff396e1 (patch)
treeda3bf21babc5c20768d8f6f4ef4313c476b10441 /crypto
parent2457380f45d834fde1f20447ada477ad19c50c16 (diff)
enable (and disable) warnings centrally
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Makefile.openssl7
1 files changed, 6 insertions, 1 deletions
diff --git a/crypto/Makefile.openssl b/crypto/Makefile.openssl
index ed2c6d8e305..dfd4aaa140c 100644
--- a/crypto/Makefile.openssl
+++ b/crypto/Makefile.openssl
@@ -1,9 +1,14 @@
-# $NetBSD: Makefile.openssl,v 1.13 2023/05/07 16:24:28 christos Exp $
+# $NetBSD: Makefile.openssl,v 1.14 2023/05/17 19:10:04 christos Exp $
.ifndef _MAKEFILE_OPENSSL_INCLUDED
_MAKEFILE_OPENSSL_INCLUDED=1
.include <bsd.own.mk>
+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
+
.if ${HAVE_OPENSSL} <= 11
OSSL_ENGINESDIR=/usr/lib/openssl