Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/ps We only need -Wno-format-y2k for print.c .



details:   https://anonhg.NetBSD.org/src/rev/da4714a53789
branches:  trunk
changeset: 961010:da4714a53789
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Apr 06 04:49:41 2021 +0000

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

diffstat:

 bin/ps/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r cb82d67d8254 -r da4714a53789 bin/ps/Makefile
--- a/bin/ps/Makefile   Tue Apr 06 03:38:04 2021 +0000
+++ b/bin/ps/Makefile   Tue Apr 06 04:49:41 2021 +0000
@@ -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 @@
 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>



Home | Main Index | Thread Index | Old Index