qt53: disable unsupported SIMD instruction sets

This commit is contained in:
Thomas Tuegel 2015-07-20 15:04:44 -05:00
parent 4d36b10f90
commit 6a10139bba

View file

@ -22,6 +22,8 @@ let
ver = "${v_maj}.${v_min}"; ver = "${v_maj}.${v_min}";
in in
let system-x86_64 = elem stdenv.system platforms.x86_64; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "qt-${ver}"; name = "qt-${ver}";
@ -126,6 +128,16 @@ stdenv.mkDerivation rec {
-no-linuxfb -no-linuxfb
-no-kms -no-kms
${optionalString (!system-x86_64) "-no-sse2"}
-no-sse3
-no-ssse3
-no-sse4.1
-no-sse4.2
-no-avx
-no-avx2
-no-mips_dsp
-no-mips_dspr2
-system-zlib -system-zlib
-system-libpng -system-libpng
-system-libjpeg -system-libjpeg