summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2010-07-26 09:43:41 +0200
committerJunio C Hamano <gitster@pobox.com>2010-08-18 12:42:37 -0700
commite146d1772b57f595cd7c6537045eedbb82b98e37 (patch)
treef5d0ba219965da5a97f91f132b4051b8b0947760 /Makefile
parente8b55f5c58d1d9e5d5cd5b24d96b7d3b51047440 (diff)
downloadgit-e146d1772b57f595cd7c6537045eedbb82b98e37.tar.gz
Makefile: make gcov invocation configurable
If you customize CC to use a different version of gcc, most likely you also need to use a different version of gcov. Make it configurable. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c83fc29993..194c26fc5e 100644
--- a/Makefile
+++ b/Makefile
@@ -308,6 +308,7 @@ TCL_PATH = tclsh
TCLTK_PATH = wish
PTHREAD_LIBS = -lpthread
PTHREAD_CFLAGS =
+GCOV = gcov
export TCL_PATH TCLTK_PATH
@@ -2312,7 +2313,7 @@ coverage-build: coverage-clean
coverage-report:
$(QUIET_GCOV)for dir in $(object_dirs); do \
- gcov $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
+ $(GCOV) $(GCOVFLAGS) --object-directory=$$dir $$dir*.c || exit; \
done
coverage-untested-functions: coverage-report