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 ipmon: remove duplicate warning s...
details: https://anonhg.NetBSD.org/src/rev/ac08d48a699e
branches: trunk
changeset: 376182:ac08d48a699e
user: lukem <lukem%NetBSD.org@localhost>
date: Sat Jun 03 21:26:52 2023 +0000
description:
ipmon: remove duplicate warning suppression
diffstat:
external/bsd/ipf/bin/ipmon/Makefile | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (26 lines):
diff -r 0e3849880f42 -r ac08d48a699e external/bsd/ipf/bin/ipmon/Makefile
--- a/external/bsd/ipf/bin/ipmon/Makefile Sat Jun 03 21:26:27 2023 +0000
+++ b/external/bsd/ipf/bin/ipmon/Makefile Sat Jun 03 21:26:52 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2023/06/03 09:09:03 lukem Exp $
+# $NetBSD: Makefile,v 1.7 2023/06/03 21:26:52 lukem Exp $
PROG= ipmon
SRCS= ipmon.c ipmon_y.c ipmon_l.c
@@ -11,8 +11,6 @@ DPSRCS+= ipmon_l.h ipmon_y.h
CLEANFILES+= ipmon_y.c ipmon_y.h
CLEANFILES+= ipmon_l.c ipmon_l.h
-COPTS.ipmon.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=format-overflow :}
-
ipmon_y.c: ipmon_y.y
${_MKTARGET_CREATE}
${YACC} -d ${.ALLSRC}
@@ -36,6 +34,6 @@ ipmon_l.h: lexer.h
${TOOL_SED} -e 's/yy/ipmon_yy/g' \
${.ALLSRC} > ${.TARGET}
-COPTS.ipmon.c+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} ${CC_WNO_FORMAT_OVERFLOW}
+COPTS.ipmon.c+= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} ${CC_WNO_FORMAT_OVERFLOW}
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index