-Wno-enum-compare is only valid for GCC 4.5.

This commit is contained in:
mrg 2011-06-29 06:32:32 +00:00
parent 12c4a0447c
commit 667b3f39be

View File

@ -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 @@ DHCPSRCDIR= common
.include <bsd.lib.mk>
.if defined(HAVE_GCC) && HAVE_GCC >= 45
CPPFLAGS.dns.c+= -Wno-enum-compare
.endif