From ff6601a6cc5f10bccaf009e4e2b72c75774d7a4d Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 3 Jun 2023 09:09:01 +0000 Subject: bsd.own.mk: rename GCC_NO_* to CC_WNO_* Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler. GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name. --- tests/lib/libc/string/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/libc/string') diff --git a/tests/lib/libc/string/Makefile b/tests/lib/libc/string/Makefile index 557511475a1..12ea5c1dfb0 100644 --- a/tests/lib/libc/string/Makefile +++ b/tests/lib/libc/string/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.13 2023/01/30 19:49:49 christos Exp $ +# $NetBSD: Makefile,v 1.14 2023/06/03 09:09:15 lukem Exp $ .include TESTSDIR= ${TESTSBASE}/lib/libc/string DBG=-g -COPTS.t_strcat.c+= ${GCC_NO_STRINGOP_TRUNCATION} +COPTS.t_strcat.c+= ${CC_WNO_STRINGOP_TRUNCATION} TESTS_C+= t_bm TESTS_C+= t_memchr -- cgit