janneke pushed a commit to branch core-packages-team-old
in repository guix.

commit 09be6a494fad37f639713d2c5de7040c099f991e
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
    relaxing 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 a4732c73ec..78c510b75b 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1158,7 +1158,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-implicit-int"
+              (string-append "GETOPT="
                              #$(this-package-input "util-linux")
                              "/bin/getopt"))))
     (native-inputs

Reply via email to