Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/string disable string op warnings for t_strcat



details:   https://anonhg.NetBSD.org/src/rev/a7ad87923202
branches:  trunk
changeset: 847362:a7ad87923202
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Dec 19 19:19:28 2019 +0000

description:
disable string op warnings for t_strcat
now this builds on macppc with gcc 8.3
from riastradh@

diffstat:

 tests/lib/libc/string/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0ad8f7a4638e -r a7ad87923202 tests/lib/libc/string/Makefile
--- a/tests/lib/libc/string/Makefile    Thu Dec 19 17:24:45 2019 +0000
+++ b/tests/lib/libc/string/Makefile    Thu Dec 19 19:19:28 2019 +0000
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.11 2018/10/15 17:55:28 christos Exp $
+# $NetBSD: Makefile,v 1.12 2019/12/19 19:19:28 macallan Exp $
 
 .include <bsd.own.mk>
 
 TESTSDIR=      ${TESTSBASE}/lib/libc/string
 DBG=-g
 
+COPTS.t_strcat.c+= ${GCC_NO_STRINGOP_TRUNCATION}
+
 TESTS_C+=      t_bm
 TESTS_C+=      t_memchr
 TESTS_C+=      t_memcpy



Home | Main Index | Thread Index | Old Index