add Lua 5.4.6 patches
This commit is contained in:
parent
787820e82f
commit
55b40a17cd
6 changed files with 188 additions and 3 deletions
18
external/lua/patches/lua-5.4.6-makefile.diff
vendored
Normal file
18
external/lua/patches/lua-5.4.6-makefile.diff
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue