geda: fix build with gcc 15

This commit is contained in:
Harinn
2026-05-15 00:26:41 +07:00
parent 8d9df1750b
commit bf3aae019d
@@ -35,6 +35,9 @@ stdenv.mkDerivation rec {
"--without-libfam"
];
# gcc 15 C23 default breaks K&R () prototypes and errors on -Wincompatible-pointer-types
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
nativeBuildInputs = [
autoreconfHook
groff