summaryrefslogtreecommitdiff
path: root/gnu/packages/xml.scm
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-08 11:52:26 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:12 +0200
commitdf3664f15514871a9e6712bb8e9e33bf01bbf825 (patch)
treea73b0163127f4774dcc64530705219c75c1e2de2 /gnu/packages/xml.scm
parent2f89df19ceb66ae0edf648ee5705726c8862fa24 (diff)
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
Diffstat (limited to 'gnu/packages/xml.scm')
-rw-r--r--gnu/packages/xml.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 4fd58a039b..999f96082f 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -1179,7 +1179,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