eresi: fix build with gcc 15

This commit is contained in:
Harinn
2026-05-09 17:28:31 +07:00
parent 8f689324e3
commit 77b566aaa1
+3
View File
@@ -40,6 +40,9 @@ stdenv.mkDerivation (finalAttrs: {
})
];
# K&R-style function-pointer declarations break under gcc 15's C23 default.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
postPatch = ''
# Two occurences of fprintf() with only two arguments, which should really
# be fputs().