Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): make gcov command line configurable



details:   https://anonhg.NetBSD.org/src/rev/4c0544f1333f
branches:  trunk
changeset: 937175:4c0544f1333f
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Aug 10 18:40:24 2020 +0000

description:
make(1): make gcov command line configurable

Some useful options are -a or -f.

diffstat:

 usr.bin/make/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 896126a83f70 -r 4c0544f1333f usr.bin/make/Makefile
--- a/usr.bin/make/Makefile     Mon Aug 10 18:20:28 2020 +0000
+++ b/usr.bin/make/Makefile     Mon Aug 10 18:40:24 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.85 2020/08/10 18:20:28 rillig Exp $
+#      $NetBSD: Makefile,v 1.86 2020/08/10 18:40:24 rillig Exp $
 #      @(#)Makefile    5.2 (Berkeley) 12/28/90
 
 PROG=  make
@@ -132,7 +132,7 @@
        cd ${.CURDIR}/unit-tests \
        && MAKEFLAGS= ${.MAKE} -r -m / TEST_MAKE=${TEST_MAKE:U${.OBJDIR}/${PROG:T}} ${.TARGET}
 .if ${USE_COVERAGE} == yes
-       gcov ${SRCS}
+       gcov ${GCOV_OPTS} ${SRCS}
        sed -i 's,^\([^:]*\): *[0-9]*:,\1: ,' *.gcov
 .endif
 



Home | Main Index | Thread Index | Old Index