gnu: java-cisd-jhdf5: Fix build with gcc@14.

* gnu/packages/java.scm (java-cisd-jhdf5): [phases]
{build-native-library}: Add "-Wno-error=implicit-function-declaration"
option to relax GCC strictness.

Change-Id: Icee8001a4908e9124b76bf1ffb27d2659868e32d
This commit is contained in:
Sharlatan Hellseher 2025-08-07 11:31:21 +01:00
parent 51e8d1cb95
commit f470fc04d4
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3090,6 +3090,7 @@ libraries from the SIS division at ETH Zurich like jHDF5.")
(apply invoke `("gcc" "-shared" "-O3"
"-fPIC"
"-Wl,--exclude-libs,ALL"
"-Wno-error=implicit-function-declaration"
,@(find-files "jhdf5" "\\.c$")
,@(find-files "hdf-java" "\\.c$")
,(string-append "-I" hdf5 "/include")