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
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-05 16:09:16 +01:00
parent c6b793a043
commit 372e608b3b
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -743,7 +743,11 @@ (define-public icedtea-8
(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"