Compile Lua 5.4 and lua-cjson using -std=c99

This commit is contained in:
Jeremy Baxter 2023-07-01 09:48:15 +12:00
parent 0d7604cb96
commit 2d78ec849e
3 changed files with 61 additions and 3 deletions

View file

@ -6,7 +6,7 @@
# Your platform. See PLATS for possible values.
PLAT= guess
CC= cc -std=gnu99
CC= cc -std=c99
CFLAGS= -O2 -fpic -Wall -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) $(MYCFLAGS)
LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS)
LIBS= -lm $(SYSLIBS) $(MYLIBS)