apply some -Wno-strict-overflow for GCC >= 4.5

This commit is contained in:
mrg 2011-07-01 02:42:10 +00:00
parent 5286814248
commit 1c1ba33ca6
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2002/09/18 03:54:39 lukem Exp $
# $NetBSD: Makefile,v 1.6 2011/07/01 02:42:10 mrg Exp $
.include <bsd.own.mk>
@ -8,3 +8,8 @@ MAN= zdump.8
.PATH: ${NETBSDSRCDIR}/lib/libc/time
.include <bsd.prog.mk>
# XXX
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
COPTS.zdump.c+= -Wno-strict-overflow
.endif