Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2017 06:31:01 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r324904 - projects/runtime-coverage/share/mk
Message-ID:  <201710230631.v9N6V104091362@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710230631.v9N6V104091362>