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/ipmon external/bsd/ipf: Suppress -Werro...
details: https://anonhg.NetBSD.org/src/rev/9098f6107d8e
branches: trunk
changeset: 744642:9098f6107d8e
user: fox <fox%NetBSD.org@localhost>
date: Sun Feb 09 07:47:50 2020 +0000
description:
external/bsd/ipf: Suppress -Werror=format-overflow= error.
Add -Wno-error=format-overflow in ipmon.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/ipmon/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 11d006454995 -r 9098f6107d8e external/bsd/ipf/bin/ipmon/Makefile
--- a/external/bsd/ipf/bin/ipmon/Makefile Sat Feb 08 21:16:53 2020 +0000
+++ b/external/bsd/ipf/bin/ipmon/Makefile Sun Feb 09 07:47:50 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2012/03/23 21:29:45 christos Exp $
+# $NetBSD: Makefile,v 1.2 2020/02/09 07:47:50 fox Exp $
PROG= ipmon
SRCS= ipmon.c ipmon_y.c ipmon_l.c
@@ -11,6 +11,8 @@
CLEANFILES+= ipmon_y.c ipmon_y.h
CLEANFILES+= ipmon_l.c ipmon_l.h
+COPTS.ipmon.c+= -Wno-error=format-overflow
+
ipmon_y.c: ipmon_y.y
${_MKTARGET_CREATE}
${YACC} -d ${.ALLSRC}
Home |
Main Index |
Thread Index |
Old Index