aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--defconfig3
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55a99cb..7096a01 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
# include config file
-CFLAGSORIG := $(CFLAGS)
CONFIG ?= .config
-include $(CONFIG)
+CFLAGSORIG := $(CFLAGS)
-include $(DOVECOT)/dovecot-config
INSTALLDIR ?= $(moduledir)/imap
# Kill CFLAGS from dovecot-config
diff --git a/defconfig b/defconfig
index 3891ca1..dbea209 100644
--- a/defconfig
+++ b/defconfig
@@ -52,3 +52,6 @@ GROUP=root
# (because, for example, you need two instances for different
# spam filters installed)
PLUGINNAME=antispam
+
+# extra CFLAGS
+# CFLAGS += -g3