Have lcov call the right gcov

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.
This commit is contained in:
Peter Eisentraut 2014-04-14 21:52:03 -04:00
parent e3fd932738
commit 0d3b2b80aa
1 changed files with 1 additions and 1 deletions

View File

@ -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