From owner-svn-src-projects@freebsd.org Mon Oct 23 16:08:20 2017 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 79915E4EFAD for ; Mon, 23 Oct 2017 16:08:20 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47FE475786; Mon, 23 Oct 2017 16:08:20 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9NG8Jwb032263; Mon, 23 Oct 2017 16:08:19 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9NG8JHH032262; Mon, 23 Oct 2017 16:08:19 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201710231608.v9NG8JHH032262@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Mon, 23 Oct 2017 16:08:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r324924 - projects/runtime-coverage X-SVN-Group: projects X-SVN-Commit-Author: ngie X-SVN-Commit-Paths: projects/runtime-coverage X-SVN-Commit-Revision: 324924 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2017 16:08:20 -0000 Author: ngie Date: Mon Oct 23 16:08:19 2017 New Revision: 324924 URL: https://svnweb.freebsd.org/changeset/base/324924 Log: Diff reduce and try to apply MK_COVERAGE only against c++11 compilers Hashtag crossesFingersAndHopeThisVoodooWorks Modified: projects/runtime-coverage/Makefile.inc1 Modified: projects/runtime-coverage/Makefile.inc1 ============================================================================== --- projects/runtime-coverage/Makefile.inc1 Mon Oct 23 16:02:48 2017 (r324923) +++ projects/runtime-coverage/Makefile.inc1 Mon Oct 23 16:08:19 2017 (r324924) @@ -558,8 +558,8 @@ TMAKE= MAKEOBJDIRPREFIX=${OBJTREE} \ # cross-tools stage XMAKE= TOOLS_PREFIX=${WORLDTMP} ${BMAKE} \ - TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} MK_GDB=no \ - MK_LLD_IS_LD=${MK_LLD_BOOTSTRAP} MK_TESTS=no + TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ + MK_GDB=no MK_LLD_IS_LD=${MK_LLD_BOOTSTRAP} MK_TESTS=no # kernel-tools stage KTMAKEENV= INSTALL="sh ${.CURDIR}/tools/install.sh" \ @@ -2258,11 +2258,10 @@ _prereq_libs+= gnu/lib/libssp/libssp_nonshared # for world to have runtime coverage instrumentation. # .if ${MK_COVERAGE} != "no" -.if ${MK_CLANG} != "no" +.if ${X_COMPILER_FEATURES:Mc++11} _prereq_libs+= lib/libclang_rt/profile .else -.error "Runtime coverage is only supported with clang" -.endif +.error "Runtime coverage is only supported with c++11 capable compilers" .endif # These dependencies are not automatically generated: