Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2017 22:05:37 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r324875 - projects/runtime-coverage
Message-ID:  <201710222205.v9MM5bhk084596@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sun Oct 22 22:05:37 2017
New Revision: 324875
URL: https://svnweb.freebsd.org/changeset/base/324875

Log:
  Disable MK_COVERAGE in Makefile.inc1 when working with broken gcc packages
  
  It makes more sense to do this in the top-level Makefile, instead of down in
  src.opts.mk .
  
  PR:	223174

Modified:
  projects/runtime-coverage/Makefile.inc1

Modified: projects/runtime-coverage/Makefile.inc1
==============================================================================
--- projects/runtime-coverage/Makefile.inc1	Sun Oct 22 21:39:58 2017	(r324874)
+++ projects/runtime-coverage/Makefile.inc1	Sun Oct 22 22:05:37 2017	(r324875)
@@ -624,6 +624,9 @@ TARGET_ABI=	gnueabi
 .endif
 .if ${WANT_COMPILER_TYPE} == gcc || \
     (defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == gcc)
+# The cross-toolchain gcc packages are broken with respect to libgcov.a, etc.
+# PR: 223174
+MK_COVERAGE=	no
 # GCC requires -isystem and -L when using a cross-compiler.  --sysroot
 # won't set header path and -L is used to ensure the base library path
 # is added before the port PREFIX library path.



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