gnu: jamvm-1-bootstrap: Fix build with gcc-14.

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

Change-Id: I354113621cb5b69e9a6e836250335319561a17e3
This commit is contained in:
Zheng Junjie 2024-12-31 09:43:29 +08:00 committed by Andreas Enge
parent c87b710fb3
commit d621ae8865
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -161,7 +161,11 @@ language.")
(assoc-ref %build-inputs "classpath"))
"--disable-int-caching"
"--enable-runtime-reloc-checks"
"--enable-ffi")
"--enable-ffi"
,(string-append
"CFLAGS=-g -O2"
" -Wno-error=implicit-function-declaration"
" -Wno-error=incompatible-pointer-types"))
#:phases
,(if (string-prefix? "aarch64" (or (%current-system)
(%current-target-system)))