svn commit: r324904 - projects/runtime-coverage/share/mk
Ngie Cooper
ngie at FreeBSD.org
Mon Oct 23 06:31:02 UTC 2017
Author: ngie
Date: Mon Oct 23 06:31:00 2017
New Revision: 324904
URL: https://svnweb.freebsd.org/changeset/base/324904
Log:
Use BROKEN_OPTIONS for MK_COVERAGE=no so it will be documented in src.conf(5)
Modified:
projects/runtime-coverage/share/mk/src.opts.mk
Modified: projects/runtime-coverage/share/mk/src.opts.mk
==============================================================================
--- projects/runtime-coverage/share/mk/src.opts.mk Mon Oct 23 06:21:35 2017 (r324903)
+++ projects/runtime-coverage/share/mk/src.opts.mk Mon Oct 23 06:31:00 2017 (r324904)
@@ -233,6 +233,9 @@ __DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC GPL_
# Everything else disables Clang, and uses GCC instead.
__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC LLD
+# gcc 4.2.1 (base) is a dead end. It lacks some niceties that would cleaning
+# integrate the output with the design of MK_COVERAGE, e.g., -fprofile-dir .
+BROKEN_OPTIONS=COVERAGE
.endif
# In-tree binutils/gcc are older versions without modern architecture support.
.if ${__T} == "aarch64" || ${__T:Mriscv*} != ""
@@ -470,9 +473,6 @@ MK_LLDB:= no
.if ${COMPILER_TYPE} == "gcc"
.if ${COMPILER_VERSION} == 40201
-# gcc 4.2.1 (base) is a dead end. It lacks some niceties that would cleaning
-# integrate the output with the design of MK_COVERAGE, e.g., -fprofile-dir .
-MK_COVERAGE:=no
.elif ${COMPILER_VERSION} >= 40800
# gcc 4.8 and newer supports libc++, so suppress gnuc++ in that case.
# while in theory we could build it with that, we don't want to do
More information about the svn-src-projects
mailing list