Module Name:    src
Committed By:   christos
Date:           Tue Aug 16 07:52:32 UTC 2011

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

Log Message:
- no need for gcc-4.5 hacks
- document non literal format


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 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.6 src/usr.sbin/zdump/Makefile:1.7
--- src/usr.sbin/zdump/Makefile:1.6	Thu Jun 30 22:42:10 2011
+++ src/usr.sbin/zdump/Makefile	Tue Aug 16 03:52:32 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.6 2011/07/01 02:42:10 mrg Exp $
+#	$NetBSD: Makefile,v 1.7 2011/08/16 07:52:32 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -6,10 +6,7 @@
 SRCS=	zdump.c ialloc.c
 MAN=	zdump.8
 
+COPTS.zdump.c += -Wno-format-nonliteral
+
 .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