Module Name: src
Committed By: fox
Date: Sat Feb 8 01:01:31 UTC 2020
Modified Files:
src/usr.sbin/altq/altqstat: Makefile
Log Message:
usr.sbin/altq: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION to quip_client.c to prevent build failure.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/altq/altqstat/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/altq/altqstat/Makefile
diff -u src/usr.sbin/altq/altqstat/Makefile:1.4 src/usr.sbin/altq/altqstat/Makefile:1.5
--- src/usr.sbin/altq/altqstat/Makefile:1.4 Sat Feb 6 23:45:26 2010
+++ src/usr.sbin/altq/altqstat/Makefile Sat Feb 8 01:01:31 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/02/06 23:45:26 he Exp $
+# $NetBSD: Makefile,v 1.5 2020/02/08 01:01:31 fox Exp $
PROG= altqstat
SRCS= altqstat.c quip_client.c qdisc_conf.c qdisc_cbq.c qdisc_hfsc.c \
@@ -10,4 +10,6 @@ CPPFLAGS+= -DALTQ -I${.CURDIR}/../libalt
DPADD+= ${LIBCURSES} ${LIBTERMINFO} ${LIBMATH}
LDADD+= -lcurses -lterminfo -lm
+COPTS.quip_client.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+
.include <bsd.prog.mk>