add Lua 5.4.6 patches

This commit is contained in:
Jeremy Baxter 2023-12-27 23:16:49 +00:00
parent 787820e82f
commit 55b40a17cd
6 changed files with 188 additions and 3 deletions

View file

@ -0,0 +1,18 @@
--- Makefile
+++ Makefile
@@ -6,12 +6,12 @@
# Your platform. See PLATS for possible values.
PLAT= guess
-CC= gcc -std=gnu99
-CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) $(MYCFLAGS)
+CC= cc -std=c99
+CFLAGS= -O2 $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)
-AR= ar rcu
+AR= ar cr
RANLIB= ranlib
RM= rm -f
UNAME= uname