symmetrica: move CFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 19:23:24 +01:00
parent 077a408b9e
commit 48bccb78b1
+4 -1
View File
@@ -29,7 +29,10 @@ stdenv.mkDerivation (finalAttrs: {
# clang warning: passing arguments to '...' without a prototype is deprecated
# in all versions of C and is not supported in C23.
CFLAGS = "-std=c99 -Wno-deprecated-non-prototype";
env.CFLAGS = toString [
"-std=c99"
"-Wno-deprecated-non-prototype"
];
enableParallelBuilding = true;