guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: gnu: xmlto: Fix build with gcc-14.


From: guix-commits
Subject: 03/05: gnu: xmlto: Fix build with gcc-14.
Date: Sun, 8 Dec 2024 08:24:13 -0500 (EST)

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

commit c8795554ab4d92f8d7507de89daf7383a36d42f5
Author: Janneke Nieuwenhuizen <janneke@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

[Prev in Thread] Current Thread [Next in Thread]