Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/altq/altqstat usr.sbin/altq: Suppress -Werror=strin...
details: https://anonhg.NetBSD.org/src/rev/af975f38fa21
branches: trunk
changeset: 744614:af975f38fa21
user: fox <fox%NetBSD.org@localhost>
date: Sat Feb 08 01:01:31 2020 +0000
description:
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@
diffstat:
usr.sbin/altq/altqstat/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r ad421498e95e -r af975f38fa21 usr.sbin/altq/altqstat/Makefile
--- a/usr.sbin/altq/altqstat/Makefile Sat Feb 08 00:59:55 2020 +0000
+++ b/usr.sbin/altq/altqstat/Makefile Sat Feb 08 01:01:31 2020 +0000
@@ -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 @@
DPADD+= ${LIBCURSES} ${LIBTERMINFO} ${LIBMATH}
LDADD+= -lcurses -lterminfo -lm
+COPTS.quip_client.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index