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

gnu: tclxml: Fix build with gcc-14.

* gnu/packages/tcl.scm (tclxml)[arguments]: Add CFLAGS
to #:configure-flags to relax gcc-14's strictness.

Fixes: #7011
Merges guix/guix!7558

Change-Id: Ifa56c6ef5594948c6240c95c95dac21eebdabd66
Signed-off-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
Janneke Nieuwenhuizen
2026-03-29 11:04:40 +02:00
committed by Cayetano Santos
parent 432daf5e2b
commit 36ae0026e0

View File

@@ -3,7 +3,7 @@
;;; Copyright © 2014, 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2016, 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016, 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2016, 2023, 2024, 2026 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2017 Kei Kebreau <kkebreau@posteo.net>
;;; Copyright © 2018, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
@@ -391,7 +391,10 @@ modules for Tk, all written in high-level Tcl. Examples of provided widgets:
(files (list (string-append "lib/Tclxml" version))))))
(arguments
`(#:configure-flags
(list (string-append "--exec-prefix=" (assoc-ref %outputs "out"))
(list (string-append "CFLAGS=-g -O2"
" -Wno-implicit-function-declaration"
" -Wno-incompatible-pointer-types")
(string-append "--exec-prefix=" (assoc-ref %outputs "out"))
(string-append "--with-tclconfig="
(assoc-ref %build-inputs "tcl") "/lib")
(string-append "--with-xml2-config="