janneke pushed a commit to branch core-packages-team
in repository guix.
commit d788b13afaf8605e04dd3d465b150dec42cae949
Author: Janneke Nieuwenhuizen <[email protected]>
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 861d7ff924..26b4c7e7a9 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -6425,7 +6425,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"