janneke pushed a commit to branch core-packages-team
in repository guix.
commit 67f15ed3f3c898f50f826f688ac69bf60ab781ee
Author: Janneke Nieuwenhuizen <[email protected]>
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 05f4542457..90149df7e8 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3940,7 +3940,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"