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:
parent
2a3fb8936a
commit
709709c6c1
@ -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.
|
||||
|
||||
PROG= srtconfig
|
||||
SRCS= srtconfig.c
|
||||
|
||||
COPTS.srtconfig.c+= ${GCC_NO_STRINGOP_TRUNCATION}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user