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:
parent
e3fd932738
commit
0d3b2b80aa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user