Module Name:    src
Committed By:   rillig
Date:           Mon Aug 10 18:40:24 UTC 2020

Modified Files:
        src/usr.bin/make: Makefile

Log Message:
make(1): make gcov command line configurable

Some useful options are -a or -f.


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/usr.bin/make/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/Makefile
diff -u src/usr.bin/make/Makefile:1.85 src/usr.bin/make/Makefile:1.86
--- src/usr.bin/make/Makefile:1.85	Mon Aug 10 18:20:28 2020
+++ src/usr.bin/make/Makefile	Mon Aug 10 18:40:24 2020
@@ -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 @@ test: .MAKE
 	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
 

Reply via email to