gnu: xmlto: Fix build with gcc-14.

* gnu/packages/xml.scm (xmlto)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: I4eb5c18dede03f197aebb6d99c61e1cee307b471
This commit is contained in:
Janneke Nieuwenhuizen 2024-12-08 11:52:26 +01:00
parent 8b589143ac
commit 2bbb3ec712
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -1160,7 +1160,8 @@ (define-public xmlto
;; Make sure the reference to util-linux's 'getopt' is kept in 'xmlto'.
(list
#:configure-flags
#~(list (string-append "GETOPT="
#~(list "CFLAGS=-g -O2 -Wno-error=implicit-int"
(string-append "GETOPT="
#$(this-package-input "util-linux")
"/bin/getopt"))))
(native-inputs