Module Name:src
Committed By: lukem
Date: Sat Jun 3 21:26:53 UTC 2023
Modified Files:
src/external/bsd/ipf/bin/ipmon: Makefile
Log Message:
ipmon: remove duplicate warning suppression
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/ipf/bin/ipmon/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ipf/bin/ipmon/Makefile
diff -u src/external/bsd/ipf/bin/ipmon/Makefile:1.6 src/external/bsd/ipf/bin/ipmon/Makefile:1.7
--- src/external/bsd/ipf/bin/ipmon/Makefile:1.6 Sat Jun 3 09:09:03 2023
+++ src/external/bsd/ipf/bin/ipmon/Makefile Sat Jun 3 21:26:52 2023
@@ -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