aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Hoelz <rob@hoelz.ro>2016-04-04 19:45:57 -0500
committerRob Hoelz <rob@hoelz.ro>2016-04-04 19:51:18 -0500
commitc8b3e9540c8a350d2475922a2eafe7f562554e0b (patch)
tree74065878cdf00806d4b9ef3e1e7a4470b1373744
parentcce598cc2c131046485a60fffb509ab44844f1c2 (diff)
downloadlua-term-c8b3e9540c8a350d2475922a2eafe7f562554e0b.tar.gz
lua-term-c8b3e9540c8a350d2475922a2eafe7f562554e0b.tar.bz2
lua-term-c8b3e9540c8a350d2475922a2eafe7f562554e0b.zip
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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
6LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) 6LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER)
7LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term 7LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term
8CWARNS := -Wall -pedantic 8CWARNS := -Wall -pedantic
9CFLAGS := $(CWARNS) -ansi -O3 -I$(LUA_INC) -fPIC 9CFLAGS += $(CWARNS) -O3 -I$(LUA_INC) -fPIC
10LIB_OPTION := -shared 10LIB_OPTION := -shared
11 11
12SONAME := core.so 12SONAME := core.so