projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9df595
)
* add (optional) gcov flags
author
Wilfried Göesgens
<willi@citadel.org>
Sun, 13 Dec 2009 16:44:02 +0000
(16:44 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Sun, 13 Dec 2009 16:44:02 +0000
(16:44 +0000)
libcitadel/debian/rules
patch
|
blob
|
history
diff --git
a/libcitadel/debian/rules
b/libcitadel/debian/rules
index b7664d47f41fb21fb7433b9f7167172dff8c8cc0..343c7a9c8494d05b08b9a25709585e8a4bee801c 100755
(executable)
--- a/
libcitadel/debian/rules
+++ b/
libcitadel/debian/rules
@@
-27,6
+27,11
@@
ifneq (,$(findstring sprofiling,$(DEB_BUILD_OPTIONS)))
CFLAGS += -D SIZE_DEBUG
endif
+ifneq (,$(findstring gcov,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -fprofile-arcs -ftest-coverage
+ LDFLAGS += -fprofile-arcs -ftest-coverage
+endif
+
build: build-stamp
build-stamp: