Module Name:    src
Committed By:   riastradh
Date:           Thu May 25 19:12:51 UTC 2023

Modified Files:
        src/crypto: Makefile.openssl

Log Message:
openssl: CWARNFLAGS, not COPTS, for -Wno-error=...

COPTS gets put too early, so these are cancelled out by -W flags
added later by bsd.sys.mk.  (How did this ever work???)


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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.18 src/crypto/Makefile.openssl:1.19
--- src/crypto/Makefile.openssl:1.18	Thu May 25 19:12:42 2023
+++ src/crypto/Makefile.openssl	Thu May 25 19:12:51 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.openssl,v 1.18 2023/05/25 19:12:42 riastradh Exp $
+#	$NetBSD: Makefile.openssl,v 1.19 2023/05/25 19:12:51 riastradh Exp $
 
 .ifndef _MAKEFILE_OPENSSL_INCLUDED
 _MAKEFILE_OPENSSL_INCLUDED=1
@@ -7,10 +7,10 @@ _MAKEFILE_OPENSSL_INCLUDED=1
 WARNS=3
 
 # would require changing a lot of code
-COPTS+= -Wno-error=cast-qual
-COPTS+= -Wno-error=char-subscripts # XXX likely real ctype(3) missing cast bugs
-COPTS+= -Wno-error=missing-field-initializers
-COPTS+= -Wno-error=shadow
+CWARNFLAGS+= -Wno-error=cast-qual
+CWARNFLAGS+= -Wno-error=char-subscripts # XXX likely real ctype(3) missing cast bugs
+CWARNFLAGS+= -Wno-error=missing-field-initializers
+CWARNFLAGS+= -Wno-error=shadow
 
 CWARNFLAGS.gcc+= -Wno-error=discarded-qualifiers
 CWARNFLAGS.clang+= -Wno-error=ignored-qualifiers

Reply via email to