Module Name:    src
Committed By:   mrg
Date:           Fri Jul  1 02:42:10 UTC 2011

Modified Files:
        src/usr.sbin/zdump: Makefile

Log Message:
apply some -Wno-strict-overflow for GCC >= 4.5


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/zdump/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/zdump/Makefile
diff -u src/usr.sbin/zdump/Makefile:1.5 src/usr.sbin/zdump/Makefile:1.6
--- src/usr.sbin/zdump/Makefile:1.5	Wed Sep 18 03:54:39 2002
+++ src/usr.sbin/zdump/Makefile	Fri Jul  1 02:42:10 2011
@@ -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 @@
 
 .PATH: ${NETBSDSRCDIR}/lib/libc/time
 .include <bsd.prog.mk>
+
+# XXX
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
+COPTS.zdump.c+=	-Wno-strict-overflow
+.endif

Reply via email to