summaryrefslogtreecommitdiffstats
path: root/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 06047ed0..7b1c99e5 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -30,6 +30,9 @@ FEATURE_DB=0
# Enable regular expressions
FEATURE_REGEXP=1
+# Enable debug mode (much slower code)
+FEATURE_DEBUG=1
+
#############################################################
# END OF USER SETTINGS #
# -------------------- #
@@ -53,6 +56,10 @@ ifeq ($(strip $(FEATURE_REGEXP)), 1)
F_REGEXP=-DFEATURE_REGEXP
endif
+ifeq ($(strip $(FEATURE_DEBUG)), 0)
+ DBG=-DNDEBUG
+endif
+
# Include MySQL client lib if DB is selected
ifdef WITHDB
LIBS = -lmysqlclient -L/usr/local/lib/mysql