summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-06 22:53:49 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:12 +0200
commit1a329dd9dbb1b7571f0f949adc814eb91600066e (patch)
treeb6b4859e2ab3074ce73a099291aa4da9af44360b
parentd1f5b8e66cef085685d65c98edfd92033842c048 (diff)
gnu: expect: Fix build with gcc-14.
* gnu/packages/tcl.scm (expect)[arguments]: Add CFLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: Ic371619c87cac9a047fdee6eded21611bc23bd1b
-rw-r--r--gnu/packages/tcl.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm
index a888304e0f..0d9c7909b6 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 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2016, 2023, 2024 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>
@@ -171,7 +171,11 @@ multiple inheritance and public and private classes and variables.")
'(#:configure-flags
(let ((out (assoc-ref %outputs "out"))
(tcl (assoc-ref %build-inputs "tcl")))
- (list (string-append "--with-tcl=" tcl "/lib")
+ (list (string-append "CFLAGS=-g -O2"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=implicit-int"
+ " -Wno-error=incompatible-pointer-types")
+ (string-append "--with-tcl=" tcl "/lib")
(string-append "--with-tclinclude=" tcl "/include")
(string-append "--exec-prefix=" out)
(string-append "--mandir=" out "/share/man")))