gnu: libxcrypt: Fix cross-build for MinGW.

* gnu/packages/crypto.scm (libxcrypt): When building for MinGW, relax gcc's
strictness.

Change-Id: I3e30608d9c218576f0a2e552daf644e17dc5c488
This commit is contained in:
Janneke Nieuwenhuizen 2025-06-23 14:46:41 +02:00
parent 436a00be92
commit 0a07c7310e
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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