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. --- sys/modules/lua/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/modules/lua/Makefile') diff --git a/sys/modules/lua/Makefile b/sys/modules/lua/Makefile index 4c90b25e589..b37d4938cc6 100644 --- a/sys/modules/lua/Makefile +++ b/sys/modules/lua/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2023/04/16 20:46:18 nikita Exp $ +# $NetBSD: Makefile,v 1.14 2023/06/03 09:09:14 lukem Exp $ .include "../Makefile.inc" @@ -24,6 +24,6 @@ CPPFLAGS+= -I${S}/../external/mit/lua/dist/src \ CWARNFLAGS.clang+= -Wno-error=string-plus-int -COPTS.lstring.c+= ${GCC_NO_STRINGOP_OVERFLOW} +COPTS.lstring.c+= ${CC_WNO_STRINGOP_OVERFLOW} .include -- cgit