Module Name: src Committed By: mrg Date: Wed Jun 29 06:34:31 UTC 2011
Modified Files: src/usr.sbin/dhcp/common: Makefile src/usr.sbin/dhcp/server: Makefile Log Message: fix previous / -Wno-enum-compare is only valid for GCC 4.5. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/dhcp/common/Makefile cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/dhcp/server/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.25 src/usr.sbin/dhcp/common/Makefile:1.26 --- src/usr.sbin/dhcp/common/Makefile:1.25 Wed Jun 29 06:32:32 2011 +++ src/usr.sbin/dhcp/common/Makefile Wed Jun 29 06:34:31 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2011/06/29 06:32:32 mrg Exp $ +# $NetBSD: Makefile,v 1.26 2011/06/29 06:34:31 mrg Exp $ LIBISPRIVATE= yes @@ -13,6 +13,6 @@ .include <bsd.lib.mk> -.if defined(HAVE_GCC) && HAVE_GCC >= 45 +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 CPPFLAGS.dns.c+= -Wno-enum-compare .endif Index: src/usr.sbin/dhcp/server/Makefile diff -u src/usr.sbin/dhcp/server/Makefile:1.15 src/usr.sbin/dhcp/server/Makefile:1.16 --- src/usr.sbin/dhcp/server/Makefile:1.15 Wed Jun 29 02:40:11 2011 +++ src/usr.sbin/dhcp/server/Makefile Wed Jun 29 06:34:31 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2011/06/29 02:40:11 mrg Exp $ +# $NetBSD: Makefile,v 1.16 2011/06/29 06:34:31 mrg Exp $ .include <bsd.own.mk> @@ -21,4 +21,6 @@ .include <bsd.prog.mk> +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 CPPFLAGS.ddns.c+= -Wno-enum-compare +.endif