Module Name: src
Committed By: fox
Date: Sat Feb 8 12:53:29 UTC 2020
Modified Files:
src/usr.bin/talk: Makefile
Log Message:
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@
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/talk/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.bin/talk/Makefile
diff -u src/usr.bin/talk/Makefile:1.8 src/usr.bin/talk/Makefile:1.9
--- src/usr.bin/talk/Makefile:1.8 Sat Feb 6 23:45:26 2010
+++ src/usr.bin/talk/Makefile Sat Feb 8 12:53:29 2020
@@ -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 @@ LDADD= -lcurses -lterminfo -lutil
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>