qt5.base: disable unsupported SIMD instruction sets

If not explicitly disabled, Qt tries to detect support for the various
instruction sets. As a result, binaries built on Hydra may use
instruction sets unsupported by clients.
This commit is contained in:
Thomas Tuegel 2015-07-20 08:46:20 -05:00
parent 17a65c4bf0
commit 965f330c65

View file

@ -25,6 +25,8 @@
with stdenv.lib;
let system-x86_64 = elem stdenv.system platforms.x86_64; in
stdenv.mkDerivation {
name = "qtbase-${version}";
@ -125,6 +127,16 @@ stdenv.mkDerivation {
-no-linuxfb
-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-libpng
-system-libjpeg