Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/cddl/osnet/usr.bin/ctfconvert external/cddl/osnet: ...



details:   https://anonhg.NetBSD.org/src/rev/4c95413561af
branches:  trunk
changeset: 744644:4c95413561af
user:      fox <fox%NetBSD.org@localhost>
date:      Sun Feb 09 07:55:13 2020 +0000

description:
external/cddl/osnet: Suppress -Werror=stringop-truncation error.

Add GCC_NO_STRINGOP_TRUNCATION dwarf.c to prevent build failure.

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

Reviewed by: kamil@

diffstat:

 external/cddl/osnet/usr.bin/ctfconvert/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 9b19c4aff684 -r 4c95413561af external/cddl/osnet/usr.bin/ctfconvert/Makefile
--- a/external/cddl/osnet/usr.bin/ctfconvert/Makefile   Sun Feb 09 07:51:20 2020 +0000
+++ b/external/cddl/osnet/usr.bin/ctfconvert/Makefile   Sun Feb 09 07:55:13 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2018/05/28 21:05:11 chs Exp $
+#      $NetBSD: Makefile,v 1.9 2020/02/09 07:55:13 fox Exp $
 
 # $FreeBSD: head/cddl/usr.bin/ctfconvert/Makefile 314654 2017-03-04 11:30:04Z ngie $
 
@@ -34,6 +34,7 @@
                traverse.c \
                util.c
 
+COPTS.dwarf.c +=       ${GCC_NO_STRINGOP_TRUNCATION}
 COPTS.st_parse.c +=    -Wno-format-nonliteral
 COPTS.util.c +=                -Wno-format-nonliteral
 



Home | Main Index | Thread Index | Old Index