summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-09-15 15:05:11 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-09-15 15:05:11 +0000
commite34ca1e7d952906fd2593850e3be47252211649c (patch)
tree191925e6cb7205a130bce6aae78e9f6924850293 /linux
parentcaf76db7c08183bc23167687702cb8652c254337 (diff)
downloadrsyslog-e34ca1e7d952906fd2593850e3be47252211649c.tar.gz
rsyslog-e34ca1e7d952906fd2593850e3be47252211649c.tar.xz
rsyslog-e34ca1e7d952906fd2593850e3be47252211649c.zip
on the way to adding property-based filters - right before changing
cfline()
Diffstat (limited to 'linux')
-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