summaryrefslogtreecommitdiff
path: root/external/mit/lua/lib
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2023-06-03 09:09:01 +0000
committerlukem <lukem@NetBSD.org>2023-06-03 09:09:01 +0000
commitff6601a6cc5f10bccaf009e4e2b72c75774d7a4d (patch)
tree87fe4eb9bda81296a5ed95f9cf55e1a2bf1ecd9a /external/mit/lua/lib
parentabaa8cb87058c08ad0688c849a28f4e007c07bbb (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 'external/mit/lua/lib')
-rw-r--r--external/mit/lua/lib/liblua/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/mit/lua/lib/liblua/Makefile b/external/mit/lua/lib/liblua/Makefile
index 33658d51af7..35c481e6b14 100644
--- a/external/mit/lua/lib/liblua/Makefile
+++ b/external/mit/lua/lib/liblua/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2023/04/16 20:46:17 nikita Exp $
+# $NetBSD: Makefile,v 1.13 2023/06/03 09:09:07 lukem Exp $
LIB= lua
LUA_CORE= lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
@@ -16,7 +16,7 @@ INCSDIR= /usr/include
CPPFLAGS+= -DLUA_USE_POSIX -DLUA_USE_DLOPEN
CWARNFLAGS.clang+= -Wno-empty-body -Wno-error=string-plus-int
-COPTS.lstring.c+= ${GCC_NO_STRINGOP_OVERFLOW}
+COPTS.lstring.c+= ${CC_WNO_STRINGOP_OVERFLOW}
LINTFLAGS+= -X 141 # integer overflow detected, op '<<'
LINTFLAGS+= -X 247 # pointer cast from 'pointer to struct
# GCObject' to 'pointer to union GCUnion' may