apply some -Wno-strict-overflow for GCC >= 4.5
This commit is contained in:
parent
5286814248
commit
1c1ba33ca6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue