1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: libgc: Use [win]pthreads for MinGW.

* gnu/packages/bdw-gc.scm (libgc):[arguments]: When building for MinGW, add
"--enable-threads=pthreads" to #:configure-flags.

Change-Id: I85f996c25eb9c578921e7dfd6d82ad20daacfa49
This commit is contained in:
Janneke Nieuwenhuizen
2025-05-18 08:46:29 +02:00
parent 99ba2814d1
commit 2865f4fed5

View File

@@ -5,6 +5,7 @@
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -64,6 +65,9 @@
#$@(if (target-hurd? (or (%current-system)
(%current-target-system)))
#~("--disable-gcj-support")
#~())
#$@(if (target-mingw?)
#~("--enable-threads=pthreads")
#~())))
(cond
((target-ppc64le?)