mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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
This commit is contained in:
parent
ed0f4fbefe
commit
923ada750a
1 changed files with 6 additions and 2 deletions
|
@ -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 @@ (define-public expect
|
|||
'(#: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")))
|
||||
|
|
Loading…
Reference in a new issue