We only need -Wno-format-y2k for print.c .
This commit is contained in:
parent
5b59f58d73
commit
13a10d0d01
@ -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 ps.c
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user