ecos: fix build with GCC 15

This commit is contained in:
Harinn
2026-05-07 15:25:18 +07:00
parent 84cf8b63b7
commit c8699a03e7
+3
View File
@@ -15,6 +15,9 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-WMgqDc+XAY3g2wwlefjJ0ATxR5r/jL971FZKtxsunnU=";
};
# tests call no-arg-declared functions with args; pre-C23 allows it
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
buildPhase = ''
runHook preBuild