eresi: fix build with gcc 15 (#518349)
This commit is contained in:
@@ -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().
|
||||
|
||||
Reference in New Issue
Block a user