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

commit b61d9b4f0616631a130c306e86fff4a7dda72b43
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Wed Jan 1 15:36:58 2025 +0100

    gnu: orbit2: Fix build with gcc-14.
    
    * gnu/packages/gnome.scm (orbit2): Add CFLAGS to #:configure-flags to relax
    gcc-14's strictness.
    
    Change-Id: I1c094a09f338335733197837e420211587aca833
---
 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 4a9a338052..51e56f7aa3 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3937,7 +3937,10 @@ functionality was designed to be as reusable and 
portable as possible.")
       ;; The "timeout-server" test hangs when run in parallel.
       #:parallel-tests? #f
       #:configure-flags
-      #~'(;; We don't need static libraries, plus they don't build reproducibly
+      #~'(#$(string-append "CFLAGS=-g -O2"
+                           " -Wno-error=implicit-int"
+                           " -Wno-error=incompatible-pointer-types")
+          ;; We don't need static libraries, plus they don't build reproducibly
           ;; (non-deterministic ordering of .o files in the archive.)
           "--disable-static"
 

Reply via email to