From 74038cf66e3a8cdcd9d97a81d9176c3cdefdaaf7 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Tue, 18 Apr 2023 00:09:55 +0200 Subject: gnu: gcc: Do not build gcov on MinGW. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Disable gcov when targetting mingw. Co-authored-by: Ludovic Courtès --- gnu/packages/gcc.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index b7d15d0730..e3ce0069f0 100644 --- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -88,6 +88,11 @@ where the OS part is overloaded to denote a specific ABI---into GCC (string-prefix? "powerpc-" target)) '("--with-long-double-128")) + ;; GCC 11.3.0's includes , which MinGW lacks: + ;; . + ((target-mingw? target) + '("--disable-gcov")) + (else ;; TODO: Add `arm.*-gnueabi', etc. '()))) -- cgit v1.2.3