mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: gcc: Do not build gcov on MinGW.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Disable gcov when targetting mingw. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
7f0fbd0463
commit
74038cf66e
1 changed files with 5 additions and 0 deletions
|
@ -88,6 +88,11 @@ (define (gcc-configure-flags-for-triplet target)
|
|||
(string-prefix? "powerpc-" target))
|
||||
'("--with-long-double-128"))
|
||||
|
||||
;; GCC 11.3.0's <libgcov.h> includes <sys/mman.h>, which MinGW lacks:
|
||||
;; <https://bugs.gentoo.org/show_bug.cgi?id=843989>.
|
||||
((target-mingw? target)
|
||||
'("--disable-gcov"))
|
||||
|
||||
(else
|
||||
;; TODO: Add `arm.*-gnueabi', etc.
|
||||
'())))
|
||||
|
|
Loading…
Reference in a new issue