Commit 0d3b2b80 authored by Peter Eisentraut's avatar Peter Eisentraut

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.
parent e3fd9327
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment