support for build with current Lua version 5.4.2

This may require
    	make spotless
    	make fetch-lua
for some platforms.
This commit is contained in:
nhmall
2020-12-11 09:20:26 -05:00
parent 0d1a894661
commit affb60dd97
12 changed files with 33 additions and 29 deletions

View File

@@ -47,9 +47,9 @@ endif
ifdef BUILD_TARGET_LUA
#===============-=================================================
# LUA library
# Source from http://www.lua.org/ftp/lua-5.4.1.tar.gz
# Source from http://www.lua.org/ftp/lua-5.4.2.tar.gz
#=================================================================
LUA_VERSION ?=5.4.1
LUA_VERSION ?=5.4.2
LUATOP ?= ../lib/lua-$(LUA_VERSION)
LUASRCDIR ?= $(LUATOP)/src
LUAOBJFILES1 = $(TARGETPFX)lapi.o $(TARGETPFX)lauxlib.o \
@@ -148,7 +148,7 @@ ifdef CROSS_TO_MSDOS
# 2. Then
# make CROSS_TO_MSDOS=1 WANT_WIN_TTY=1 WANT_WIN_CURSES=1 all
#
# Source from http://www.lua.org/ftp/lua-5.4.1.tar.gz
# Source from http://www.lua.org/ftp/lua-5.4.2.tar.gz
#=================================================================
CFLAGS += -DCROSSCOMPILE