aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2014-04-14 21:52:03 -0400
committerPeter Eisentraut <peter_e@gmx.net>2014-04-14 21:52:03 -0400
commit0d3b2b80aa6aee753f372bb0300a131691e9f55c (patch)
treed7af868bfa83e4585343223d9916df9ebc5a50d0
parente3fd9327384abc1cd252ddd8ce9429ab7bef48b5 (diff)
downloadpostgresql-0d3b2b80aa6aee753f372bb0300a131691e9f55c.tar.gz
postgresql-0d3b2b80aa6aee753f372bb0300a131691e9f55c.zip
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.
-rw-r--r--src/Makefile.global.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index c2bdab38b7e..2a2470883fc 100644
--- 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