dhcp: remove gcc 8 workaround

(if it's needed, add it back using ${CC_WNO_FORMAT_OVERFLOW})
This commit is contained in:
lukem 2023-06-03 21:27:11 +00:00
parent 2075f2d0bf
commit 39588391d2
1 changed files with 1 additions and 2 deletions

View File

@ -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 <bsd.own.mk> .include <bsd.own.mk>
@ -19,7 +19,6 @@ FILES= dhcpd.conf
COPTS.ddns.c +=-Wno-stringop-overflow COPTS.ddns.c +=-Wno-stringop-overflow
.endif .endif
COPTS.mdb6.c += ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
COPTS.omapi.c += -Wno-stack-protector COPTS.omapi.c += -Wno-stack-protector
COPTS.confpars.c+= ${CC_WNO_STRINGOP_TRUNCATION} COPTS.confpars.c+= ${CC_WNO_STRINGOP_TRUNCATION}
COPTS.mdb6.c+= ${CC_WNO_STRINGOP_OVERFLOW} COPTS.mdb6.c+= ${CC_WNO_STRINGOP_OVERFLOW}