mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-28 12:01:49 +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:
@@ -5,6 +5,7 @@
|
|||||||
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
||||||
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
|
||||||
;;; Copyright © 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
@@ -64,6 +65,9 @@
|
|||||||
#$@(if (target-hurd? (or (%current-system)
|
#$@(if (target-hurd? (or (%current-system)
|
||||||
(%current-target-system)))
|
(%current-target-system)))
|
||||||
#~("--disable-gcj-support")
|
#~("--disable-gcj-support")
|
||||||
|
#~())
|
||||||
|
#$@(if (target-mingw?)
|
||||||
|
#~("--enable-threads=pthreads")
|
||||||
#~())))
|
#~())))
|
||||||
(cond
|
(cond
|
||||||
((target-ppc64le?)
|
((target-ppc64le?)
|
||||||
|
|||||||
Reference in New Issue
Block a user