Module Name:    src
Committed By:   mrg
Date:           Wed Jun 29 06:32:32 UTC 2011

Modified Files:
        src/usr.sbin/dhcp/common: Makefile

Log Message:
-Wno-enum-compare is only valid for GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/dhcp/common/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/dhcp/common/Makefile
diff -u src/usr.sbin/dhcp/common/Makefile:1.24 src/usr.sbin/dhcp/common/Makefile:1.25
--- src/usr.sbin/dhcp/common/Makefile:1.24	Wed Jun 29 02:40:11 2011
+++ src/usr.sbin/dhcp/common/Makefile	Wed Jun 29 06:32:32 2011
@@ -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

Reply via email to