Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/talk usr.bin/talk: Suppress -Werror=stringop-truncat...
details: https://anonhg.NetBSD.org/src/rev/c5c092c8e0fe
branches: trunk
changeset: 969125:c5c092c8e0fe
user: fox <fox%NetBSD.org@localhost>
date: Sat Feb 08 12:53:29 2020 +0000
description:
usr.bin/talk: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION to get_names.c to prevent build failure.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
Reviewed by: kamil@
diffstat:
usr.bin/talk/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 247e9c5fee7a -r c5c092c8e0fe usr.bin/talk/Makefile
--- a/usr.bin/talk/Makefile Sat Feb 08 12:17:16 2020 +0000
+++ b/usr.bin/talk/Makefile Sat Feb 08 12:53:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2010/02/06 23:45:26 he Exp $
+# $NetBSD: Makefile,v 1.9 2020/02/08 12:53:29 fox Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
USE_FORT?= yes # network client
@@ -9,4 +9,6 @@
SRCS= ctl.c ctl_transact.c display.c get_addrs.c get_names.c \
init_disp.c invite.c io.c look_up.c msgs.c talk.c
+COPTS.get_names.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+
.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index