From e146d1772b57f595cd7c6537045eedbb82b98e37 Mon Sep 17 00:00:00 2001 From: Thomas Rast Date: Mon, 26 Jul 2010 09:43:41 +0200 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c83fc2999..194c26fc5 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 -- 2.30.2