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
endif
+ifneq (,$(findstring rss,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -D DEBUG_RSS
+endif
+
ifneq (,$(findstring iodbg,$(DEB_BUILD_OPTIONS)))
CFLAGS += -D BIGBAD_IODBG
endif