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/6474ec4733e6
branches:  trunk
changeset: 1007172:6474ec4733e6
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 43fc494bf3c3 -r 6474ec4733e6 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