diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,9 @@ LDFLAGS += -shared | |||
15 | LUA_INCLUDE_DIR ?= $(PREFIX)/include | 15 | LUA_INCLUDE_DIR ?= $(PREFIX)/include |
16 | LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION) | 16 | LUA_LIB_DIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION) |
17 | 17 | ||
18 | # Some versions of Solaris are missing isinf(). Add -DMISSING_ISINF to | ||
19 | # CFLAGS to work around this bug. | ||
20 | |||
18 | #CFLAGS ?= -g -Wall -pedantic -fno-inline | 21 | #CFLAGS ?= -g -Wall -pedantic -fno-inline |
19 | CFLAGS ?= -g -O3 -Wall -pedantic | 22 | CFLAGS ?= -g -O3 -Wall -pedantic |
20 | override CFLAGS += -fpic -I$(LUA_INCLUDE_DIR) -DVERSION=\"$(CJSON_VERSION)\" | 23 | override CFLAGS += -fpic -I$(LUA_INCLUDE_DIR) -DVERSION=\"$(CJSON_VERSION)\" |