diff options
| author | lukem <lukem@NetBSD.org> | 2023-06-03 09:09:01 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2023-06-03 09:09:01 +0000 |
| commit | ff6601a6cc5f10bccaf009e4e2b72c75774d7a4d (patch) | |
| tree | 87fe4eb9bda81296a5ed95f9cf55e1a2bf1ecd9a /tests/lib | |
| parent | abaa8cb87058c08ad0688c849a28f4e007c07bbb (diff) | |
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.
Diffstat (limited to 'tests/lib')
| -rw-r--r-- | tests/lib/libarchive/Makefile | 4 | ||||
| -rw-r--r-- | tests/lib/libc/rpc/Makefile | 4 | ||||
| -rw-r--r-- | tests/lib/libc/ssp/Makefile | 4 | ||||
| -rw-r--r-- | tests/lib/libc/string/Makefile | 4 | ||||
| -rw-r--r-- | tests/lib/libevent/Makefile | 6 |
5 files changed, 11 insertions, 11 deletions
diff --git a/tests/lib/libarchive/Makefile b/tests/lib/libarchive/Makefile index 7cb6df92c89..19e3da22a08 100644 --- a/tests/lib/libarchive/Makefile +++ b/tests/lib/libarchive/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2020/06/07 23:20:52 fox Exp $ +# $NetBSD: Makefile,v 1.6 2023/06/03 09:09:15 lukem Exp $ NOMAN= @@ -609,5 +609,5 @@ list.h: ${SRCS.h_libarchive} Makefile ${TOOL_GREP} -v _truncated_filter_ | \ ${TOOL_GREP} -v test_compat_pax_libarchive_2x > ${.TARGET} -COPTS.test_archive_string_conversion.c+= ${GCC_NO_STRINGOP_TRUNCATION} +COPTS.test_archive_string_conversion.c+= ${CC_WNO_STRINGOP_TRUNCATION} diff --git a/tests/lib/libc/rpc/Makefile b/tests/lib/libc/rpc/Makefile index 32fcbd0f3aa..caf116d9088 100644 --- a/tests/lib/libc/rpc/Makefile +++ b/tests/lib/libc/rpc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2019/10/13 07:28:14 mrg Exp $ +# $NetBSD: Makefile,v 1.4 2023/06/03 09:09:15 lukem Exp $ MKMAN= no @@ -18,7 +18,7 @@ CPPFLAGS+= -I. RPC_INCS= ${RPCSRCS:.x=.h} RPC_XDRFILES= ${RPCSRCS:.x=_xdr.c} -COPTS.t_rpc.c+= ${GCC_NO_CAST_FUNCTION_TYPE} +COPTS.t_rpc.c+= ${CC_WNO_CAST_FUNCTION_TYPE} .include <bsd.rpc.mk> .include <bsd.test.mk> diff --git a/tests/lib/libc/ssp/Makefile b/tests/lib/libc/ssp/Makefile index 4bbf91a5cae..faaa6f4f334 100644 --- a/tests/lib/libc/ssp/Makefile +++ b/tests/lib/libc/ssp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2019/10/13 07:28:14 mrg Exp $ +# $NetBSD: Makefile,v 1.11 2023/06/03 09:09:15 lukem Exp $ NOMAN= # defined @@ -49,6 +49,6 @@ PROGS+= h_vsnprintf PROGS+= h_vsprintf # Test exercises truncation -COPTS.h_snprintf.c+= ${GCC_NO_FORMAT_TRUNCATION} +COPTS.h_snprintf.c+= ${CC_WNO_FORMAT_TRUNCATION} .include <bsd.test.mk> 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 <bsd.own.mk> 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 diff --git a/tests/lib/libevent/Makefile b/tests/lib/libevent/Makefile index e7c1305efc2..be27a660af8 100644 --- a/tests/lib/libevent/Makefile +++ b/tests/lib/libevent/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2021/04/12 06:08:31 mrg Exp $ +# $NetBSD: Makefile,v 1.7 2023/06/03 09:09:15 lukem Exp $ TESTSDIR= ${TESTSBASE}/lib/libevent @@ -26,7 +26,7 @@ CPPFLAGS+= -DLIBEVENT_CRYPTO DPADD+= ${LIBEVENT} ${LIBEVENT_PTHREADS} ${LIBZ} ${LIBPTHREAD} LDADD+= -levent_pthreads -levent -lz -lpthread -COPTS.regress_rpc.c+= ${GCC_NO_CAST_FUNCTION_TYPE} -COPTS.regress_dns.c+= ${GCC_NO_MAYBE_UNINITIALIZED} +COPTS.regress_rpc.c+= ${CC_WNO_CAST_FUNCTION_TYPE} +COPTS.regress_dns.c+= ${CC_WNO_MAYBE_UNINITIALIZED} .include <bsd.test.mk> |
