usr.sbin/srtconfig: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION to srtconfig.c to prevent build failure.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
This commit is contained in:
fox 2020-02-09 15:10:31 +00:00
parent 2a3fb8936a
commit 709709c6c1

View File

@ -1,7 +1,9 @@
# $NetBSD: Makefile,v 1.2 2006/12/29 10:39:59 wiz Exp $ # $NetBSD: Makefile,v 1.3 2020/02/09 15:10:31 fox Exp $
# This file is in the public domain. # This file is in the public domain.
PROG= srtconfig PROG= srtconfig
SRCS= srtconfig.c SRCS= srtconfig.c
COPTS.srtconfig.c+= ${GCC_NO_STRINGOP_TRUNCATION}
.include <bsd.prog.mk> .include <bsd.prog.mk>