Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0d3b2b8

Browse files
committed
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.
1 parent e3fd932 commit 0d3b2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makefile.global.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ gcda_files := $(wildcard *.gcda)
779779

780780
lcov.info: $(gcda_files)
781781
rm -f *.gcov
782-
$(if $^,$(LCOV) -d . -c -o $@ $(LCOVFLAGS))
782+
$(if $^,$(LCOV) -d . -c -o $@ $(LCOVFLAGS) --gcov-tool $(GCOV))
783783

784784
%.c.gcov: %.gcda | lcov.info
785785
$(GCOV) -b -f -p -o . $(GCOVFLAGS) $*.c >$*.c.gcov.out

0 commit comments

Comments
 (0)