forked from mirrors/nixpkgs
Merge pull request #126171 from zhaofengli/libimagequant-sse
libimagequant: Disable SSE on non-X86 architectures
This commit is contained in:
commit
012cc02441
|
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs ./configure
|
||||
'';
|
||||
|
||||
configureFlags = lib.optionals stdenv.isAarch64 [ "--disable-sse" ];
|
||||
configureFlags = lib.optionals (!stdenv.isi686 && !stdenv.isx86_64) [ "--disable-sse" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://pngquant.org/lib/";
|
||||
|
|
Loading…
Reference in a new issue