* add RSS-debug compile flag mechanic
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 19 Sep 2010 10:00:41 +0000 (12:00 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 19 Sep 2010 10:00:41 +0000 (12:00 +0200)
citadel/debian/rules

index 9fb361123d7e4814c6e0268039682eab39f28d47..c1065eab26aa93e31b99c5b706b2d2c7faada677 100755 (executable)
@@ -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