diff options
author | Mark Pulford <mark@kyne.com.au> | 2011-12-31 22:11:14 +1030 |
---|---|---|
committer | Mark Pulford <mark@kyne.com.au> | 2011-12-31 22:11:14 +1030 |
commit | 0b0ac2ce45897017cfc1d1d248dc4b8925c1e195 (patch) | |
tree | 0846dfac0d54f4f3ca109ea39b48d5cebf41a118 | |
parent | 759bdd234f24eb5878a4185cdee885f60b3f809f (diff) | |
download | lua-cjson-0b0ac2ce45897017cfc1d1d248dc4b8925c1e195.tar.gz lua-cjson-0b0ac2ce45897017cfc1d1d248dc4b8925c1e195.tar.bz2 lua-cjson-0b0ac2ce45897017cfc1d1d248dc4b8925c1e195.zip |
Add NDEBUG to performance CFLAGS
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ LUA_VERSION = 5.1 | |||
8 | ## Build defaults | 8 | ## Build defaults |
9 | PREFIX = /usr/local | 9 | PREFIX = /usr/local |
10 | #CFLAGS = -g -Wall -pedantic -fno-inline | 10 | #CFLAGS = -g -Wall -pedantic -fno-inline |
11 | CFLAGS = -O3 -Wall -pedantic | 11 | CFLAGS = -O3 -Wall -pedantic -DNDEBUG |
12 | CJSON_LDFLAGS = -shared | 12 | CJSON_LDFLAGS = -shared |
13 | LUA_INCLUDE_DIR = $(PREFIX)/include | 13 | LUA_INCLUDE_DIR = $(PREFIX)/include |
14 | LUA_MODULE_DIR = $(PREFIX)/lib/lua/$(LUA_VERSION) | 14 | LUA_MODULE_DIR = $(PREFIX)/lib/lua/$(LUA_VERSION) |