diff options
| author | mrg <mrg@NetBSD.org> | 2021-04-12 02:54:07 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2021-04-12 02:54:07 +0000 |
| commit | ea35e2260538c3d0f106f8ea26a33d337c152751 (patch) | |
| tree | dd0dea4aefadb5be75a926c0a991238fc518efde /external/mit/lua/lib | |
| parent | 5a30ed241f1644cdbdb3a671614780e3b94232b3 (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 'external/mit/lua/lib')
| -rw-r--r-- | external/mit/lua/lib/liblua/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/external/mit/lua/lib/liblua/Makefile b/external/mit/lua/lib/liblua/Makefile index 8f4ced9d713..8e86e2b6a6e 100644 --- a/external/mit/lua/lib/liblua/Makefile +++ b/external/mit/lua/lib/liblua/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2019/11/11 22:45:26 joerg Exp $ +# $NetBSD: Makefile,v 1.10 2021/04/12 02:54:08 mrg Exp $ LIB= lua LUA_CORE= lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \ @@ -16,6 +16,7 @@ INCSDIR= /usr/include CPPFLAGS+= -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_C89_NUMBERS CWARNFLAGS.clang+= -Wno-empty-body -Wno-error=string-plus-int +COPTS.lstring.c+= ${GCC_NO_STRINGOP_OVERFLOW} LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm |
