From: Wilfried Goesgens Date: Sun, 19 Sep 2010 10:00:41 +0000 (+0200) Subject: * add RSS-debug compile flag mechanic X-Git-Tag: v8.01~708 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=81c5cd6912c3093656b5af2e4d61a939db6f778a;p=citadel.git * add RSS-debug compile flag mechanic --- diff --git a/citadel/debian/rules b/citadel/debian/rules index 9fb361123..c1065eab2 100755 --- a/citadel/debian/rules +++ b/citadel/debian/rules @@ -16,7 +16,7 @@ CFLAGS = -Wall -g EXTRA_ARGS= PROFILE_ARGS= -#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling threadoff" +#to enable debugging: export DEB_BUILD_OPTIONS="debug profiling threadoff rss" ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS))) PROFILE_ARGS= --with-gprof endif @@ -36,6 +36,10 @@ else endif +ifneq (,$(findstring rss,$(DEB_BUILD_OPTIONS))) + CFLAGS += -D DEBUG_RSS +endif + ifneq (,$(findstring iodbg,$(DEB_BUILD_OPTIONS))) CFLAGS += -D BIGBAD_IODBG endif