From ea35e2260538c3d0f106f8ea26a33d337c152751 Mon Sep 17 00:00:00 2001 From: mrg Date: Mon, 12 Apr 2021 02:54:07 +0000 Subject: 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.) --- sys/modules/lua/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/modules/lua') 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 -- cgit