gnu: classpath-bootstrap: Fix build with gcc-14.

* gnu/packages/java-bootstrap.scm (classpath-bootstrap)[arguments]
<#:configure-flags>: Add CFLAGS.

Change-Id: Icdec1e39dbbaba5e91c5ac5767f30ee1205043eb
This commit is contained in:
Zheng Junjie 2024-12-31 09:42:24 +08:00 committed by Janneke Nieuwenhuizen
parent 409784ab27
commit 2a8aa84846
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -112,6 +112,7 @@ (define classpath-bootstrap
`(#:configure-flags
(list (string-append "JAVAC="
(search-input-file %build-inputs "/bin/jikes"))
"CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
"--disable-Werror"
"--disable-gmp"
"--disable-gtk-peer"