gnu: zile: Fix build with gcc-14.

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

Change-Id: I2d5551a272392ce0084969dd49300682789da470
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-01 16:32:22 +01:00 committed by Andreas Enge
parent 4fff5fe049
commit 3aef541254
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -5,6 +5,7 @@
;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org> ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -55,7 +56,9 @@
"1h2pxsp5rdkr2i4akfpayv19had3yf3226kyf38461j9rf2lpm6m")))) "1h2pxsp5rdkr2i4akfpayv19had3yf3226kyf38461j9rf2lpm6m"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:configure-flags
'("CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types")
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-before 'configure 'patch-/bin/sh (add-before 'configure 'patch-/bin/sh
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)