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

commit 91bd08b9ad66224669d73e46aaf400a8b3b67fde
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Sat Jan 4 21:56:17 2025 +0100

    gnu: cogl: Fix build with gcc-14.
    
    * gnu/packages/gnome.scm (cogl)[arguments]: Add CFLAGS to #:configure-flags 
to
    relax gcc-14's strictness.
    
    Change-Id: I05c4923c6e2ed60b892d3beef2967fff18cdeb56
---
 gnu/packages/gnome.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 80cba9c2bd..fde8d5b9ee 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6336,7 +6336,10 @@ throughout GNOME for API documentation).")
            wayland))
     (arguments
      `(#:disallowed-references (,xorg-server-for-tests)
-       #:configure-flags (list "--enable-cogl-gst=no" ;broken and unmaintained
+       #:configure-flags (list ,(string-append
+                                 "CFLAGS=-g -O2"
+                                 " -Wno-error=implicit-function-declaration")
+                               "--enable-cogl-gst=no" ;broken and unmaintained
                                "--enable-wayland-egl-platform"
                                "--enable-wayland-egl-server"
 

Reply via email to