Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2017 03:47:22 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r325207 - projects/runtime-coverage
Message-ID:  <201710310347.v9V3lMMV039824@repo.freebsd.org>

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



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