svn commit: r325207 - projects/runtime-coverage

Ngie Cooper ngie at FreeBSD.org
Tue Oct 31 03:47:23 UTC 2017


Author: ngie
Date: Tue Oct 31 03:47:22 2017
New Revision: 325207
URL: https://svnweb.freebsd.org/changeset/base/325207

Log:
  Remove c++ COMPILER_FEATURES check; it's not needed
  
  Add _coverage_libs to _startup_libs for consistency with the other libraries
  in _prereq_libs .

Modified:
  projects/runtime-coverage/Makefile.inc1

Modified: projects/runtime-coverage/Makefile.inc1
==============================================================================
--- projects/runtime-coverage/Makefile.inc1	Tue Oct 31 03:39:36 2017	(r325206)
+++ projects/runtime-coverage/Makefile.inc1	Tue Oct 31 03:47:22 2017	(r325207)
@@ -2282,13 +2282,13 @@ _prereq_libs+= gnu/lib/libssp/libssp_nonshared
 # for world to have runtime coverage instrumentation.
 #
 .if ${MK_COVERAGE} != "no"
-.if ${COMPILER_FEATURES:Mc++11} && \
-    (defined(WANT_COMPILER) && ${WANT_COMPILER} == "clang")
+.if defined(WANT_COMPILER) && ${WANT_COMPILER} == "clang"
 _coverage_libs+=	lib/libclang_rt/profile
 .endif
 .endif
 .if !empty(_coverage_libs)
 _prereq_libs+=	${_coverage_libs}
+_startup_libs+=	${_coverage_libs}
 .endif
 
 # These dependencies are not automatically generated:


More information about the svn-src-projects mailing list