Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/config usr.bin/config: Suppress -Werror=stringop-tru...
details: https://anonhg.NetBSD.org/src/rev/ecade8fa1958
branches: trunk
changeset: 744602:ecade8fa1958
user: fox <fox%NetBSD.org@localhost>
date: Fri Feb 07 20:17:48 2020 +0000
description:
usr.bin/config: Suppress -Werror=stringop-truncation error.
Add GCC_NO_STRINGOP_TRUNCATION to scan.c to prevent build failure.
Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.
gcc version 8.3.0
Reviewed by: kamil@
diffstat:
usr.bin/config/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 7246ac2aef58 -r ecade8fa1958 usr.bin/config/Makefile
--- a/usr.bin/config/Makefile Fri Feb 07 20:13:26 2020 +0000
+++ b/usr.bin/config/Makefile Fri Feb 07 20:17:48 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/10/13 07:28:14 mrg Exp $
+# $NetBSD: Makefile,v 1.12 2020/02/07 20:17:48 fox Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/19/94
.include <bsd.own.mk>
@@ -17,6 +17,8 @@
CPPFLAGS+=-I${.CURDIR} -I.
CPPFLAGS+= -I${NETBSDSRCDIR}/usr.bin/cksum
+COPTS.scan.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+
.ifndef HOSTPROG
LDADD+=-lutil
DPADD+=${LIBUTIL}
Home |
Main Index |
Thread Index |
Old Index