From ee6a4cd1eca4fa736d108e1e0ac3cb9858f7a5ef Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Nov 2024 11:43:32 -0300 Subject: Ease slightly making Lua with C89 --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index b37fdb28..58de5ddb 100644 --- a/makefile +++ b/makefile @@ -69,7 +69,9 @@ CWARNS= $(CWARNSCPP) $(CWARNSC) $(CWARNGCC) LOCAL = $(TESTS) $(CWARNS) -# enable Linux goodies +# To enable Linux goodies, -DLUA_USE_LINUX +# For C89, "-std=c89 -DLUA_USE_C89" +# Note that Linux/Posix options are not compatible with C89 MYCFLAGS= $(LOCAL) -std=c99 -DLUA_USE_LINUX MYLDFLAGS= $(LOCAL) -Wl,-E MYLIBS= -ldl -- cgit v1.2.3-55-g6feb