Module Name: src
Committed By: christos
Date: Wed May 17 19:10:04 UTC 2023
Modified Files:
src/crypto: Makefile.openssl
Log Message:
enable (and disable) warnings centrally
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/crypto/Makefile.openssl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/Makefile.openssl
diff -u src/crypto/Makefile.openssl:1.13 src/crypto/Makefile.openssl:1.14
--- src/crypto/Makefile.openssl:1.13 Sun May 7 12:24:28 2023
+++ src/crypto/Makefile.openssl Wed May 17 15:10:04 2023
@@ -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