guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

130/246: gnu: zile: Fix build with gcc-14.


From: guix-commits
Subject: 130/246: gnu: zile: Fix build with gcc-14.
Date: Sun, 12 Jan 2025 10:21:35 -0500 (EST)

janneke pushed a commit to branch core-packages-team
in repository guix.

commit a5c44752720e6e68aab98fc4856defdad181b34e
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Jan 1 16:32:22 2025 +0100

    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
---
 gnu/packages/zile.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]