projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* add (optional) gcov flags
[citadel.git]
/
libcitadel
/
debian
/
rules
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: