diff options
author | Thomas Rast <trast@student.ethz.ch> | 2010-07-26 09:43:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-18 12:42:37 -0700 |
commit | e146d1772b57f595cd7c6537045eedbb82b98e37 (patch) | |
tree | f5d0ba219965da5a97f91f132b4051b8b0947760 /Makefile | |
parent | e8b55f5c58d1d9e5d5cd5b24d96b7d3b51047440 (diff) | |
download | git-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |