From 0a07c7310eff1eaa8ace4dbaf732534a03f30865 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Mon, 23 Jun 2025 14:46:41 +0200 Subject: [PATCH] gnu: libxcrypt: Fix cross-build for MinGW. * gnu/packages/crypto.scm (libxcrypt): When building for MinGW, relax gcc's strictness. Change-Id: I3e30608d9c218576f0a2e552daf644e17dc5c488 --- gnu/packages/crypto.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 3cf8ed1c9989a3c7410549506933720e89dd5dd1..f1574bfecf514ce14d6f7ee09889a43ff9f3ff47 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1653,7 +1653,9 @@ checksum tool based on the BLAKE3 cryptographic hash function.") (list #:tests? #f)) ; TODO: Investigate test failures. ((target-mingw?) (list #:configure-flags - #~(list "CFLAGS=-g -O2 -Wno-error=pedantic" + #~(list #$(string-append "CFLAGS=-g -O2" + " -Wno-error=pedantic" + " -Wno-error=conversion") "ac_cv_ld_no_undefined=-no-undefined"))) (else '()))) (synopsis