ecos: fix build with GCC 15 (#517587)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-07 19:26:39 +00:00
committed by GitHub
+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