summaryrefslogtreecommitdiff
path: root/deps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deps/Makefile')
-rw-r--r--deps/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/Makefile b/deps/Makefile
index e183ede9c..1f623ea7b 100644
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -58,7 +58,7 @@ ifeq ($(uname_S),SunOS)
LUA_CFLAGS= -D__C99FEATURES__=1
endif
-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI $(CFLAGS)
+LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL $(CFLAGS)
LUA_LDFLAGS+= $(LDFLAGS)
# lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
# challenging to cross-compile lua (and redis). These defines make it easier