external/mpl/dhcp: Fix build failure under LLVM.
-Wno-error= flag now only applies to gcc 8 and not to LLVM based builds. Reviewed by: kamil@
This commit is contained in:
parent
02cd2e9449
commit
e7f517aadc
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2020/02/09 07:59:44 fox Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2020/02/12 00:41:50 fox Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -19,7 +19,7 @@ FILES= dhcpd.conf
|
|||
COPTS.ddns.c +=-Wno-stringop-overflow
|
||||
.endif
|
||||
|
||||
COPTS.mdb6.c += -Wno-error=format-overflow
|
||||
COPTS.mdb6.c += ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
|
||||
COPTS.omapi.c += -Wno-stack-protector
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
|
Loading…
Reference in New Issue