andreas pushed a commit to branch core-packages-team in repository guix. commit d5a9f2b5cb95aab55069ee523291d1997890c192 Author: Janneke Nieuwenhuizen <jann...@gnu.org> AuthorDate: Sun Dec 8 11:52:26 2024 +0100
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 --- gnu/packages/xml.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 2b38037553..f29d5d2adc 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -1178,7 +1178,8 @@ code for classes that correspond to data structures defined by XMLSchema.") ;; 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