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: Suppress -We...



details:   https://anonhg.NetBSD.org/src/rev/7962db00ab30
branches:  trunk
changeset: 744645:7962db00ab30
user:      fox <fox%NetBSD.org@localhost>
date:      Sun Feb 09 07:59:44 2020 +0000

description:
external/mpl/dhcp: Suppress -Werror=format-overflow error.

Add -Wno-error=format-overflow mdb6.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@

diffstat:

 external/mpl/dhcp/bin/server/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 4c95413561af -r 7962db00ab30 external/mpl/dhcp/bin/server/Makefile
--- a/external/mpl/dhcp/bin/server/Makefile     Sun Feb 09 07:55:13 2020 +0000
+++ b/external/mpl/dhcp/bin/server/Makefile     Sun Feb 09 07:59:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2019/10/30 00:25:00 christos Exp $
+# $NetBSD: Makefile,v 1.3 2020/02/09 07:59:44 fox Exp $
 
 .include <bsd.own.mk>
 
@@ -19,6 +19,7 @@
 COPTS.ddns.c +=-Wno-stringop-overflow
 .endif
 
+COPTS.mdb6.c +=                -Wno-error=format-overflow
 COPTS.omapi.c +=       -Wno-stack-protector
 
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index