svn commit: r325211 - projects/runtime-coverage

Ngie Cooper ngie at FreeBSD.org
Tue Oct 31 04:27:07 UTC 2017


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:


More information about the svn-src-projects mailing list