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

This commit is contained in:
simonb 2021-04-06 04:49:41 +00:00
parent 5b59f58d73
commit 13a10d0d01

View File

@ -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 # @(#)Makefile 8.1 (Berkeley) 6/2/93
PROG= ps PROG= ps
@ -6,7 +6,6 @@ SRCS= fmt.c keyword.c nlist.c print.c ps.c
DPADD= ${LIBM} ${LIBKVM} DPADD= ${LIBM} ${LIBKVM}
LDADD= -lm -lkvm LDADD= -lm -lkvm
CWARNFLAGS+= -Wno-format-y2k COPTS.print.c = -Wno-format-nonliteral -Wno-format-y2k
COPTS.print.c = -Wno-format-nonliteral
.include <bsd.prog.mk> .include <bsd.prog.mk>