1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
committed by Andreas Enge
parent 2f89df19ce
commit df3664f155

View File

@@ -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