Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/zdump apply some -Wno-strict-overflow for GCC >= 4.5
details: https://anonhg.NetBSD.org/src/rev/9c6dd884e766
branches: trunk
changeset: 766736:9c6dd884e766
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Jul 01 02:42:10 2011 +0000
description:
apply some -Wno-strict-overflow for GCC >= 4.5
diffstat:
usr.sbin/zdump/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 50f578337f78 -r 9c6dd884e766 usr.sbin/zdump/Makefile
--- a/usr.sbin/zdump/Makefile Fri Jul 01 02:34:50 2011 +0000
+++ b/usr.sbin/zdump/Makefile Fri Jul 01 02:42:10 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index