]> git.pld-linux.org Git - packages/qt4.git/commitdiff
- more MMX/3DNOW/SSE3/SSSE3/SSE41/SSE42/AVX switches; turning on per arch likely...
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 10 Nov 2010 05:46:08 +0000 (05:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    qt4.spec -> 1.272

qt4.spec

index b4d0fd7307e459eb73c21765076d901914d2bd88..04d082315a964849990b1bee06f808edbf7572b8 100644 (file)
--- a/qt4.spec
+++ b/qt4.spec
 %bcond_without pch             # disable pch in qmake
 %bcond_without gtk             # don't build GTK theme integration
 %bcond_without system_phonon   # don't build phonon libraries
+%bcond_with    mmx
+%bcond_with    3dnow
 %bcond_with    sse             # use SSE instructions in gui/painting module
 %bcond_with    sse2            # use SSE2 instructions
+%bcond_with    sse3
+%bcond_with    ssse3
+%bcond_with    sse41
+%bcond_with    sse42
+%bcond_with    avx
 #
 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
 %undefine      with_ibase
 %endif
+%ifarch        i686
+%define                with_mmx        1
+%endif
 %ifarch pentium3 pentium4 %{x8664}
+%define                with_mmx        1
 %define                with_sse        1
 %endif
 %ifarch pentium4 %{x8664}
+%define                with_mmx        1
+%define                with_sse2       1
+%endif
+%ifarch %{x8664}
+%define                with_mmx        1
+%define                with_sse        1
 %define                with_sse2       1
+%define                with_sse3       1
+%define                with_ssse3      1
+%define                with_sse41      1
+%define                with_sse42      1
 %endif
 # any SQL
 %define                _withsql        1
@@ -1450,8 +1471,15 @@ COMMONOPT=" \
        %{!?with_gtk:-no-gtkstyle} \
        -%{!?with_pch:no-}pch \
        -no-rpath \
+       %{!?with_mmx:-no-mmx} \
+       %{!?with_3dnow:-no-3dnow} \
        %{!?with_sse:-no-sse} \
        %{!?with_sse2:-no-sse2} \
+       %{!?with_sse3:-no-sse3} \
+       %{!?with_ssse3:-no-ssse3} \
+       %{!?with_sse41:-no-sse41} \
+       %{!?with_sse42:-no-sse42} \
+       %{!?with_avx:-no-avx} \
        -qdbus \
        -qt-gif \
        -reduce-relocations \
This page took 0.052419 seconds and 4 git commands to generate.