svn commit: r346584 - projects/runtime-coverage-v2/share/mk
Enji Cooper
ngie at FreeBSD.org
Tue Sep 3 14:07:26 UTC 2019
Author: ngie
Date: Mon Apr 22 21:26:30 2019
New Revision: 346584
URL: https://svnweb.freebsd.org/changeset/base/346584
Log:
Update the comment above the coverage COMPILER_FEATURES test
Modified:
projects/runtime-coverage-v2/share/mk/bsd.lib.mk
projects/runtime-coverage-v2/share/mk/bsd.prog.mk
Modified: projects/runtime-coverage-v2/share/mk/bsd.lib.mk
==============================================================================
--- projects/runtime-coverage-v2/share/mk/bsd.lib.mk Mon Apr 22 21:24:08 2019 (r346583)
+++ projects/runtime-coverage-v2/share/mk/bsd.lib.mk Mon Apr 22 21:26:30 2019 (r346584)
@@ -5,7 +5,8 @@
.include <bsd.init.mk>
.include <bsd.compiler.mk>
-# TODO: this shouldn't be here.
+# This forces coverage off if the compiler isn't capable, as src.opts.mk is too
+# late sometimes.
.if !${COMPILER_FEATURES:Mcoverage}
MK_COVERAGE:= no
.endif
Modified: projects/runtime-coverage-v2/share/mk/bsd.prog.mk
==============================================================================
--- projects/runtime-coverage-v2/share/mk/bsd.prog.mk Mon Apr 22 21:24:08 2019 (r346583)
+++ projects/runtime-coverage-v2/share/mk/bsd.prog.mk Mon Apr 22 21:26:30 2019 (r346584)
@@ -4,7 +4,8 @@
.include <bsd.init.mk>
.include <bsd.compiler.mk>
-# TODO: this shouldn't be here.
+# This forces coverage off if the compiler isn't capable, as src.opts.mk is too
+# late sometimes.
.if !${COMPILER_FEATURES:Mcoverage}
MK_COVERAGE:= no
.endif
More information about the svn-src-projects
mailing list