guix-commits
[Top][All Lists]
Advanced

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

77/216: gnu: vala-0.52: Fix build with gcc-14.


From: guix-commits
Subject: 77/216: gnu: vala-0.52: Fix build with gcc-14.
Date: Sat, 4 Jan 2025 07:27:19 -0500 (EST)

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

commit 50abe203f0439023bd2115ce553cb4c7f76ef148
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Dec 30 17:02:51 2024 +0100

    gnu: vala-0.52: Fix build with gcc-14.
    
    * gnu/packages/gnome.scm (vala-0.52)[argumens]: New field.
    
    Change-Id: I9fbc643df7571405f4b36aa44de9d76596e2aece
---
 gnu/packages/gnome.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index f1b2012755..fc516d928f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4615,7 +4615,15 @@ targeting the GNOME stack simple.")
                                   "vala-" version ".tar.xz"))
               (sha256
                (base32
-                "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))))
+                "12y6p8wdjp01vmfhxg2cgh32xnyqq6ivblvrar9clnj6vc867qhx"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments vala)
+       ((#:configure-flags flags #~'())
+        #~(cons*
+           (string-append "CFLAGS=-g -O2"
+                          " -Wno-error=address"
+                          " -Wno-error=incompatible-pointer-types")
+           #$flags))))))
 
 (define-public vte
   (package



reply via email to

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