From 39588391d202a07bfb6a41057802cfec80a0e1f0 Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 3 Jun 2023 21:27:11 +0000 Subject: [PATCH] dhcp: remove gcc 8 workaround (if it's needed, add it back using ${CC_WNO_FORMAT_OVERFLOW}) --- external/mpl/dhcp/bin/server/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/external/mpl/dhcp/bin/server/Makefile b/external/mpl/dhcp/bin/server/Makefile index 1a35e2f50fd6..a89cd5f3dd6d 100644 --- a/external/mpl/dhcp/bin/server/Makefile +++ b/external/mpl/dhcp/bin/server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2023/06/03 09:09:08 lukem Exp $ +# $NetBSD: Makefile,v 1.9 2023/06/03 21:27:11 lukem Exp $ .include @@ -19,7 +19,6 @@ FILES= dhcpd.conf COPTS.ddns.c +=-Wno-stringop-overflow .endif -COPTS.mdb6.c += ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :} COPTS.omapi.c += -Wno-stack-protector COPTS.confpars.c+= ${CC_WNO_STRINGOP_TRUNCATION} COPTS.mdb6.c+= ${CC_WNO_STRINGOP_OVERFLOW}