Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2017 07:02:56 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r324905 - projects/runtime-coverage
Message-ID:  <201710230702.v9N72u1T007690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Oct 23 07:02:55 2017
New Revision: 324905
URL: https://svnweb.freebsd.org/changeset/base/324905

Log:
  Use MK_CLANG instead -_-

Modified:
  projects/runtime-coverage/Makefile.inc1

Modified: projects/runtime-coverage/Makefile.inc1
==============================================================================
--- projects/runtime-coverage/Makefile.inc1	Mon Oct 23 06:31:00 2017	(r324904)
+++ projects/runtime-coverage/Makefile.inc1	Mon Oct 23 07:02:55 2017	(r324905)
@@ -2258,10 +2258,10 @@ _prereq_libs+= gnu/lib/libssp/libssp_nonshared
 # for world to have runtime coverage instrumentation.
 #
 .if ${MK_COVERAGE} != "no"
-.if ${COMPILER_TYPE} == clang
+.if ${MK_CLANG} != "no"
 _prereq_libs+=	lib/libclang_rt/profile
 .else
-.error "Runtime coverage isn't supported with ${COMPILER_TYPE}"
+.error "Runtime coverage is only supported with clang"
 .endif
 .endif
 



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