diff options
| author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2026-03-29 11:04:40 +0200 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-03-29 13:22:16 +0200 |
| commit | 36ae0026e0a5fdfae6a82768fb3f444fb08da749 (patch) | |
| tree | a645fa1a56d537f7d3ca70c4186811b40bc3be73 | |
| parent | 432daf5e2be1d8510b4c1cb8943fc0e937f3ffe8 (diff) | |
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>
| -rw-r--r-- | gnu/packages/tcl.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index a17d8c3e342..8741548329d 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -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=" |
