summaryrefslogtreecommitdiff
path: root/sys/modules/lua/Makefile
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2021-04-12 02:54:07 +0000
committermrg <mrg@NetBSD.org>2021-04-12 02:54:07 +0000
commitea35e2260538c3d0f106f8ea26a33d337c152751 (patch)
treedd0dea4aefadb5be75a926c0a991238fc518efde /sys/modules/lua/Makefile
parent5a30ed241f1644cdbdb3a671614780e3b94232b3 (diff)
add some new uses of existing GCC_NO_* variables for warning issues.
remove an no longer relevant for gcc7 workaround (works fine in both gcc9 and gcc 10.)
Diffstat (limited to 'sys/modules/lua/Makefile')
-rw-r--r--sys/modules/lua/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/modules/lua/Makefile b/sys/modules/lua/Makefile
index 654f8f1c7b9..e2836d103ea 100644
--- a/sys/modules/lua/Makefile
+++ b/sys/modules/lua/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2019/11/11 22:45:27 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2021/04/12 02:54:08 mrg Exp $
.include "../Makefile.inc"
@@ -24,4 +24,6 @@ CPPFLAGS+= -I${S}/../external/mit/lua/dist/src \
CWARNFLAGS.clang+= -Wno-error=string-plus-int
+COPTS.lstring.c+= ${GCC_NO_STRINGOP_OVERFLOW}
+
.include <bsd.kmodule.mk>