projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3fd932
)
Have lcov call the right gcov
author
Peter Eisentraut
<peter_e@gmx.net>
Tue, 15 Apr 2014 01:52:03 +0000
(21:52 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Tue, 15 Apr 2014 01:52:03 +0000
(21:52 -0400)
By default, lcov will call whatever gcov it can find in the path. But
if the user has specified a different gcov to configure, this could be
incompatible. So tell lcov explicitly with an option which gcov program
to call.
src/Makefile.global.in
patch
|
blob
|
blame
|
history
diff --git
a/src/Makefile.global.in
b/src/Makefile.global.in
index c2bdab38b7e9cf7c491aa091c9e65ccc3bf2e96d..2a2470883fcdfa72e17b29ea2c083e2b886467e8 100644
(file)
--- a/
src/Makefile.global.in
+++ b/
src/Makefile.global.in
@@
-779,7
+779,7
@@
gcda_files := $(wildcard *.gcda)
lcov.info: $(gcda_files)
rm -f *.gcov
- $(if $^,$(LCOV) -d . -c -o $@ $(LCOVFLAGS))
+ $(if $^,$(LCOV) -d . -c -o $@ $(LCOVFLAGS)
--gcov-tool $(GCOV)
)
%.c.gcov: %.gcda | lcov.info
$(GCOV) -b -f -p -o . $(GCOVFLAGS) $*.c >$*.c.gcov.out