From c8b3e9540c8a350d2475922a2eafe7f562554e0b Mon Sep 17 00:00:00 2001 From: Rob Hoelz Date: Mon, 4 Apr 2016 19:45:57 -0500 Subject: Remove -ansi compiler flag to allow for C99 Lua 5.3 requires either C99 or a Windows compiler to have long long integers, or permission from the user to use 32-bit integers for its integer types. I don't mind requiring users of lua-term to have a C99 compiler, but users who want 32-bit integers can override CFLAGS in their environment if they insist. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3847bf4..75a87f3 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ LUA_LIBDIR := $(LUA_DIR)/lib/lua/$(LUA_VER)/term LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term CWARNS := -Wall -pedantic -CFLAGS := $(CWARNS) -ansi -O3 -I$(LUA_INC) -fPIC +CFLAGS += $(CWARNS) -O3 -I$(LUA_INC) -fPIC LIB_OPTION := -shared SONAME := core.so -- cgit v1.2.3-55-g6feb