Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2019 14:07:21 -0000
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r346534 - projects/runtime-coverage-v2/share/mk
Message-ID:  <201904220822.x3M8MFdY040473@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Apr 22 08:22:15 2019
New Revision: 346534
URL: https://svnweb.freebsd.org/changeset/base/346534

Log:
  Switch the conditional to only disable COVERAGE/COVERAGE_SUPPORT when not building clang

Modified:
  projects/runtime-coverage-v2/share/mk/src.opts.mk

Modified: projects/runtime-coverage-v2/share/mk/src.opts.mk
==============================================================================
--- projects/runtime-coverage-v2/share/mk/src.opts.mk	Mon Apr 22 08:02:17 2019	(r346533)
+++ projects/runtime-coverage-v2/share/mk/src.opts.mk	Mon Apr 22 08:22:15 2019	(r346534)
@@ -407,11 +407,7 @@ __DEFAULT_YES_OPTIONS+=OPENMP
 __DEFAULT_NO_OPTIONS+=OPENMP
 .endif
 
-# cross toolchains with "make universe" aren't properly building
-# libclang_rt.profile*.a yet for the target platform and installing it to the
-# expected location, so disable coverage support for now with clang when
-# cross-building.
-.if ${COMPILER_TYPE} == "clang" && ${__T} != ${__TT}
+.if ${COMPILER_TYPE} != "clang"
 BROKEN_OPTIONS+=COVERAGE
 BROKEN_OPTIONS+=COVERAGE_SUPPORT
 .endif





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