Module Name:    src
Committed By:   rillig
Date:           Wed Aug 12 19:21:05 UTC 2020

Modified Files:
        src/usr.bin/make: Makefile

Log Message:
make(1): enable -Wcast-qual for var.c again

When it became disabled 9 years ago, there were 15 instances of UNCONST
in the code.  These have been removed in the latest cleanup sessions.

Tested with GCC 5 from NetBSD 8 and GCC 10 from pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 src/usr.bin/make/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/Makefile
diff -u src/usr.bin/make/Makefile:1.87 src/usr.bin/make/Makefile:1.88
--- src/usr.bin/make/Makefile:1.87	Wed Aug 12 18:48:36 2020
+++ src/usr.bin/make/Makefile	Wed Aug 12 19:21:05 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.87 2020/08/12 18:48:36 rillig Exp $
+#	$NetBSD: Makefile,v 1.88 2020/08/12 19:21:05 rillig Exp $
 #	@(#)Makefile	5.2 (Berkeley) 12/28/90
 
 PROG=	make
@@ -127,7 +127,6 @@ ${SRCS:M*.c:.c=.o}: ${HDRS}
 .include <bsd.subdir.mk>
 
 CPPFLAGS+=	-DMAKE_NATIVE
-COPTS.var.c+=	-Wno-cast-qual
 COPTS.job.c+=	-Wno-format-nonliteral
 COPTS.parse.c+=	-Wno-format-nonliteral
 COPTS.var.c+=	-Wno-format-nonliteral

Reply via email to