From 81c5cd6912c3093656b5af2e4d61a939db6f778a Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sun, 19 Sep 2010 12:00:41 +0200 Subject: [PATCH] * add RSS-debug compile flag mechanic --- citadel/debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.2