Module Name:    src
Committed By:   martin
Date:           Wed Jul  1 06:31:18 UTC 2020

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

Log Message:
Forbid gcc to whine about intended format truncation


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.bin/w/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/w/Makefile
diff -u src/usr.bin/w/Makefile:1.21 src/usr.bin/w/Makefile:1.22
--- src/usr.bin/w/Makefile:1.21	Fri Oct 21 02:26:09 2011
+++ src/usr.bin/w/Makefile	Wed Jul  1 06:31:18 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.21 2011/10/21 02:26:09 christos Exp $
+#	$NetBSD: Makefile,v 1.22 2020/07/01 06:31:18 martin Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/6/93
 
 .include <bsd.own.mk>
@@ -14,5 +14,6 @@ CPPFLAGS+= -DSUPPORT_UTMP -DSUPPORT_UTMP
 .PATH: ${NETBSDSRCDIR}/bin/ps
 
 COPTS.pr_time.c += -Wno-format-y2k
+COPTS.w.c += ${GCC_NO_FORMAT_TRUNCATION}
 
 .include <bsd.prog.mk>

Reply via email to