3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #126171 from zhaofengli/libimagequant-sse

libimagequant: Disable SSE on non-X86 architectures
This commit is contained in:
Jörg Thalheim 2021-06-08 10:21:54 +02:00 committed by GitHub
commit 012cc02441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/";