Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/zdump - no need for gcc-4.5 hacks
details: https://anonhg.NetBSD.org/src/rev/9292b5c5f7f4
branches: trunk
changeset: 768395:9292b5c5f7f4
user: christos <christos%NetBSD.org@localhost>
date: Tue Aug 16 07:52:32 2011 +0000
description:
- no need for gcc-4.5 hacks
- document non literal format
diffstat:
usr.sbin/zdump/Makefile | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (22 lines):
diff -r ff6d194a231c -r 9292b5c5f7f4 usr.sbin/zdump/Makefile
--- a/usr.sbin/zdump/Makefile Tue Aug 16 07:51:46 2011 +0000
+++ b/usr.sbin/zdump/Makefile Tue Aug 16 07:52:32 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index