Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ipf/bin/ipsend external/bsd/ipf: Suppress -Werr...



details:   https://anonhg.NetBSD.org/src/rev/8fce81e95f12
branches:  trunk
changeset: 969137:8fce81e95f12
user:      fox <fox%NetBSD.org@localhost>
date:      Sun Feb 09 07:51:20 2020 +0000

description:
external/bsd/ipf: Suppress -Werror=maybe-uninitialized error.

Add -Wno-error=maybe-uninitialized in ipsopt.c to prevent build failure.

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

Reviewed by: kamil@

diffstat:

 external/bsd/ipf/bin/ipsend/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f6cb10b0fa27 -r 8fce81e95f12 external/bsd/ipf/bin/ipsend/Makefile
--- a/external/bsd/ipf/bin/ipsend/Makefile      Sun Feb 09 07:47:50 2020 +0000
+++ b/external/bsd/ipf/bin/ipsend/Makefile      Sun Feb 09 07:51:20 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2013/01/02 15:50:34 dsl Exp $
+#      $NetBSD: Makefile,v 1.4 2020/02/09 07:51:20 fox Exp $
 
 .include <bsd.own.mk>
 .include "../Makefile.inc"
@@ -25,6 +25,8 @@
 .PATH:         ${UDIST}/ipsend \
                ${UDIST}/iplang
 
+COPTS.ipsopt.c+=       -Wno-error=maybe-uninitialized
+
 iplang_y.c: iplang_y.y
        ${_MKTARGET_CREATE}
        ${YACC} -d ${.ALLSRC}



Home | Main Index | Thread Index | Old Index