Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2019 07:32:47 +0000 (UTC)
From:      Enji Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r346531 - projects/runtime-coverage-v2
Message-ID:  <201904220732.x3M7Wl9p014868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Apr 22 07:32:47 2019
New Revision: 346531
URL: https://svnweb.freebsd.org/changeset/base/346531

Log:
  Only try building lib/libclang_rt/profile if MK_CLANG != no
  
  This will fix cross-building with mips, powerpc, etc.

Modified:
  projects/runtime-coverage-v2/Makefile.inc1

Modified: projects/runtime-coverage-v2/Makefile.inc1
==============================================================================
--- projects/runtime-coverage-v2/Makefile.inc1	Mon Apr 22 07:27:24 2019	(r346530)
+++ projects/runtime-coverage-v2/Makefile.inc1	Mon Apr 22 07:32:47 2019	(r346531)
@@ -2726,7 +2726,9 @@ _prereq_libs+= gnu/lib/libssp/libssp_nonshared
 # for world to have runtime coverage instrumentation.
 #
 .if ${MK_COVERAGE_SUPPORT} != "no"
+.if ${MK_CLANG} != "no"
 _prereq_libs+=	lib/libclang_rt/profile
+.endif
 .endif
 
 # These dependencies are not automatically generated:



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