Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/dhcp/common -Wno-enum-compare is only valid for GCC...
details: https://anonhg.NetBSD.org/src/rev/16af1f94e1bf
branches: trunk
changeset: 766661:16af1f94e1bf
user: mrg <mrg%NetBSD.org@localhost>
date: Wed Jun 29 06:32:32 2011 +0000
description:
-Wno-enum-compare is only valid for GCC 4.5.
diffstat:
usr.sbin/dhcp/common/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r b32fec1bd402 -r 16af1f94e1bf usr.sbin/dhcp/common/Makefile
--- a/usr.sbin/dhcp/common/Makefile Wed Jun 29 06:25:33 2011 +0000
+++ b/usr.sbin/dhcp/common/Makefile Wed Jun 29 06:32:32 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2011/06/29 02:40:11 mrg Exp $
+# $NetBSD: Makefile,v 1.25 2011/06/29 06:32:32 mrg Exp $
LIBISPRIVATE= yes
@@ -13,4 +13,6 @@
.include <bsd.lib.mk>
+.if defined(HAVE_GCC) && HAVE_GCC >= 45
CPPFLAGS.dns.c+= -Wno-enum-compare
+.endif
Home |
Main Index |
Thread Index |
Old Index