diff options
| author | Rob Hoelz <rob@hoelz.ro> | 2016-04-04 19:45:57 -0500 |
|---|---|---|
| committer | Rob Hoelz <rob@hoelz.ro> | 2016-04-04 19:51:18 -0500 |
| commit | c8b3e9540c8a350d2475922a2eafe7f562554e0b (patch) | |
| tree | 74065878cdf00806d4b9ef3e1e7a4470b1373744 | |
| parent | cce598cc2c131046485a60fffb509ab44844f1c2 (diff) | |
| download | lua-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -6,7 +6,7 @@ LUA_LIBDIR := $(LUA_DIR)/lib/lua/$(LUA_VER)/term | |||
| 6 | LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) | 6 | LUA_INC := $(LUA_DIR)/include/lua$(LUA_VER) |
| 7 | LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term | 7 | LUA_SHARE := $(LUA_DIR)/share/lua/$(LUA_VER)/term |
| 8 | CWARNS := -Wall -pedantic | 8 | CWARNS := -Wall -pedantic |
| 9 | CFLAGS := $(CWARNS) -ansi -O3 -I$(LUA_INC) -fPIC | 9 | CFLAGS += $(CWARNS) -O3 -I$(LUA_INC) -fPIC |
| 10 | LIB_OPTION := -shared | 10 | LIB_OPTION := -shared |
| 11 | 11 | ||
| 12 | SONAME := core.so | 12 | SONAME := core.so |
