3
0
Fork 0
forked from mirrors/nixpkgs

flac: set CFLAGS and CXXFLAGS to match performance of autotools build

This commit is contained in:
Nick Cao 2022-10-03 09:57:35 +08:00
parent bb6c08c8d5
commit b8a03cec22
No known key found for this signature in database

View file

@ -33,6 +33,9 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=ON"
];
CFLAGS = [ "-O3" "-funroll-loops" ];
CXXFLAGS = [ "-O3" ];
# doCheck = true; # takes lots of time
outputs = [ "bin" "dev" "out" "man" "doc" ];