aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYichun Zhang (agentzh) <yichun@openresty.com>2020-07-09 22:59:52 -0700
committerYichun Zhang (agentzh) <yichun@openresty.com>2020-07-09 22:59:52 -0700
commitf8e36f87fc7d90be0612e8e53407f56e217fe49b (patch)
tree4c3a30001e99c9d12c9347dc92aaaf72babad6e1
parent461c7ef23a49062d4b1bf0e1afb3be294d007861 (diff)
downloadlua-cjson-f8e36f87fc7d90be0612e8e53407f56e217fe49b.tar.gz
lua-cjson-f8e36f87fc7d90be0612e8e53407f56e217fe49b.tar.bz2
lua-cjson-f8e36f87fc7d90be0612e8e53407f56e217fe49b.zip
added -g by default.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2361028..55c2142 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ LUA_VERSION = 5.1
15TARGET = cjson.so 15TARGET = cjson.so
16PREFIX = /usr/local 16PREFIX = /usr/local
17#CFLAGS = -g -Wall -pedantic -fno-inline 17#CFLAGS = -g -Wall -pedantic -fno-inline
18CFLAGS = -O3 -Wall -pedantic -DNDEBUG 18CFLAGS = -O3 -Wall -pedantic -DNDEBUG -g
19CJSON_CFLAGS = -fpic 19CJSON_CFLAGS = -fpic
20CJSON_LDFLAGS = -shared 20CJSON_LDFLAGS = -shared
21LUA_INCLUDE_DIR ?= $(PREFIX)/include 21LUA_INCLUDE_DIR ?= $(PREFIX)/include