This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch core-packages-team
in repository guix.
The following commit(s) were added to refs/heads/core-packages-team by this
push:
new 9166dc20bc gnu: icedtea-8: Fix build with gcc-14.
9166dc20bc is described below
commit 9166dc20bc9ea3e501ce74c34826b61733246634
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sun Jan 5 16:09:16 2025 +0100
gnu: icedtea-8: Fix build with gcc-14.
* gnu/packages/java.scm (icedtea-8)[arguments]: Extend CFLAGS to relax
gcc-14's strictness.
Change-Id: Ia7a53bfd1649c54505d7d2d033f9e984c531da90
---
gnu/packages/java.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 6143b05fda..9f92055a88 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -743,7 +743,11 @@ IcedTea build harness.")
(srfi srfi-26)))
((#:configure-flags flags)
`(let ((jdk (assoc-ref %build-inputs "jdk")))
- `("CFLAGS=-fcommon"
+ `(,(string-append "CFLAGS=-fcommon"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=implicit-int"
+ " -Wno-error=incompatible-pointer-types"
+ " -Wno-error=int-conversion")
"CXXFLAGS=-fcommon"
"--enable-bootstrap"
"--enable-nss"