qt53: disable unsupported SIMD instruction sets
This commit is contained in:
parent
4d36b10f90
commit
6a10139bba
1 changed files with 12 additions and 0 deletions
|
@ -22,6 +22,8 @@ let
|
|||
ver = "${v_maj}.${v_min}";
|
||||
in
|
||||
|
||||
let system-x86_64 = elem stdenv.system platforms.x86_64; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qt-${ver}";
|
||||
|
||||
|
@ -126,6 +128,16 @@ stdenv.mkDerivation rec {
|
|||
-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
|
||||
|
|
Loading…
Reference in a new issue