Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/dhcp/bin/server external/mpl/dhcp: Fix build fa...
details: https://anonhg.NetBSD.org/src/rev/2b2aaacb74c6
branches: trunk
changeset: 969204:2b2aaacb74c6
user: fox <fox%NetBSD.org@localhost>
date: Wed Feb 12 00:41:50 2020 +0000
description:
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@
diffstat:
external/mpl/dhcp/bin/server/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r da40d3d53af4 -r 2b2aaacb74c6 external/mpl/dhcp/bin/server/Makefile
--- a/external/mpl/dhcp/bin/server/Makefile Wed Feb 12 00:36:37 2020 +0000
+++ b/external/mpl/dhcp/bin/server/Makefile Wed Feb 12 00:41:50 2020 +0000
@@ -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 @@
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>
Home |
Main Index |
Thread Index |
Old Index