Module Name:    src
Committed By:   simonb
Date:           Tue Apr  6 04:49:41 UTC 2021

Modified Files:
        src/bin/ps: Makefile

Log Message:
We only need -Wno-format-y2k for print.c .


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/bin/ps/Makefile

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

Modified files:

Index: src/bin/ps/Makefile
diff -u src/bin/ps/Makefile:1.29 src/bin/ps/Makefile:1.30
--- src/bin/ps/Makefile:1.29	Sun Aug 14 10:53:17 2011
+++ src/bin/ps/Makefile	Tue Apr  6 04:49:41 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.29 2011/08/14 10:53:17 christos Exp $
+#	$NetBSD: Makefile,v 1.30 2021/04/06 04:49:41 simonb Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/2/93
 
 PROG=		ps
@@ -6,7 +6,6 @@ SRCS=		fmt.c keyword.c nlist.c print.c p
 DPADD=		${LIBM} ${LIBKVM}
 LDADD=		-lm -lkvm
 
-CWARNFLAGS+=	-Wno-format-y2k
-COPTS.print.c = -Wno-format-nonliteral
+COPTS.print.c = -Wno-format-nonliteral -Wno-format-y2k
 
 .include <bsd.prog.mk>

Reply via email to