Subject: [PATCH 1/2] gnu: mingw-w64-i686, mingw-w64-x86_64: Use winpthreads.

From: Janneke Nieuwenhuizen <[email-masked]>
Date: Wed, 14 May 2025 08:45:21 +0200

* gnu/packages/mingw.scm (mingw-w64-i686, mingw-w64-x86_64): Enable
winpthreads by default.
(mingw-w64-i686-sans-winpthreads, mingw-w64-x86_64-sans-winpthreads): New
variables providing variants without winpthreads.

Change-Id: Iaf34d9cc812543762cfd626693ea715880341c13
---
 gnu/packages/mingw.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/mingw.scm b/gnu/packages/mingw.scm
index ea579d4043..ed7b87e3b1 100644
--- a/gnu/packages/mingw.scm
+++ b/gnu/packages/mingw.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016 Jan Nieuwenhuizen <[email-masked]>
+;;; Copyright © 2016, 2025 Janneke Nieuwenhuizen <[email-masked]>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2019 Carl Dong <[email-masked]>
 ;;; Copyright © 2021 Léo Le Bouter <[email-masked]>
@@ -132,10 +132,10 @@ (define* (make-mingw-w64/implementation machine
 (define make-mingw-w64
   (memoize make-mingw-w64/implementation))
 
-(define-public mingw-w64-i686
+(define-public mingw-w64-i686-sans-winpthreads
   (make-mingw-w64 "i686"))
 
-(define-public mingw-w64-x86_64
+(define-public mingw-w64-x86_64-sans-winpthreads
   (make-mingw-w64 "x86_64"))
 
 (define-public mingw-w64-i686-winpthreads
@@ -146,6 +146,8 @@ (define-public mingw-w64-x86_64-winpthreads
   (make-mingw-w64 "x86_64"
                   #:with-winpthreads? #t))
 
+(define-public mingw-w64-i686 mingw-w64-i686-winpthreads)
+(define-public mingw-w64-x86_64 mingw-w64-x86_64-winpthreads)
 (define-public mingw-w64 mingw-w64-i686)
 
 (define-public mingw-w64-tools
-- 
2.49.0