Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2017 04:27:06 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r325211 - projects/runtime-coverage
Message-ID:  <201710310427.v9V4R63O056547@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Oct 31 04:27:06 2017
New Revision: 325211
URL: https://svnweb.freebsd.org/changeset/base/325211

Log:
  Fold all of the MK_COVERAGE _prereq_libs logic up. None of the deleted logic works. This seems to work

Modified:
  projects/runtime-coverage/Makefile.inc1

Modified: projects/runtime-coverage/Makefile.inc1
==============================================================================
--- projects/runtime-coverage/Makefile.inc1	Tue Oct 31 04:12:48 2017	(r325210)
+++ projects/runtime-coverage/Makefile.inc1	Tue Oct 31 04:27:06 2017	(r325211)
@@ -2282,12 +2282,7 @@ _prereq_libs+= gnu/lib/libssp/libssp_nonshared
 # for world to have runtime coverage instrumentation.
 #
 .if ${MK_COVERAGE} != "no"
-.if defined(WANT_COMPILER) && ${WANT_COMPILER} == "clang"
-_coverage_libs+=	lib/libclang_rt/profile
-.endif
-.endif
-.if !empty(_coverage_libs)
-_prereq_libs+=	${_coverage_libs}
+_prereq_libs+=	lib/libclang_rt/profile
 .endif
 
 # These dependencies are not automatically generated:



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