svn commit: r346531 - projects/runtime-coverage-v2

Enji Cooper ngie at FreeBSD.org
Mon Apr 22 07:32:48 UTC 2019


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:


More information about the svn-src-projects mailing list