flac: move CXXFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-15 19:43:43 +01:00
parent 5b8134af6e
commit 032eb28943
+7 -5
View File
@@ -38,11 +38,13 @@ stdenv.mkDerivation (finalAttrs: {
"-DBUILD_SHARED_LIBS=ON"
];
CFLAGS = [
"-O3"
"-funroll-loops"
];
CXXFLAGS = [ "-O3" ];
env = {
CFLAGS = toString [
"-O3"
"-funroll-loops"
];
CXXFLAGS = toString [ "-O3" ];
};
patches = [ ./package.patch ];
doCheck = true;