freeipmi: fix build with GCC14

fixes #367702

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Reno Dakota <paparodeo@proton.me>
This commit is contained in:
2024-12-24 15:44:24 +01:00
co-authored by Reno Dakota
parent 7dcb1a29b6
commit 00a8abb5e1
+4
View File
@@ -30,6 +30,10 @@ stdenv.mkDerivation rec {
"ac_cv_file__dev_random=true"
];
# Fix GCC 14 build.
# https://savannah.gnu.org/bugs/?65203
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
doCheck = true;
meta = {