projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74565f3
)
* add RSS-debug compile flag mechanic
author
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 19 Sep 2010 10:00:41 +0000
(12:00 +0200)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sun, 19 Sep 2010 10:00:41 +0000
(12:00 +0200)
citadel/debian/rules
patch
|
blob
|
history
diff --git
a/citadel/debian/rules
b/citadel/debian/rules
index 9fb361123d7e4814c6e0268039682eab39f28d47..c1065eab26aa93e31b99c5b706b2d2c7faada677 100755
(executable)
--- 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