]> git.pld-linux.org Git - packages/qt4.git/commitdiff
- enable sql and modern instructions on x32 auto/th/qt4-4.8.7-32
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Aug 2021 15:00:12 +0000 (17:00 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 18 Aug 2021 15:00:12 +0000 (17:00 +0200)
- disable optimizations on ix86

qt4.spec

index b9a654b681586d1bdf3284c196cd371852abd390..a6b1b751e2cb727c1e7f5420ef6eb9a9df8f1929 100644 (file)
--- a/qt4.spec
+++ b/qt4.spec
 %bcond_with    sse42           # use SSE4.2 instructions (the same)
 %bcond_with    avx             # use AVX instructions (future Intel x86 CPUs only)
 
-%ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
+%ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha ppc
 %undefine      with_ibase
 %endif
 %ifarch        athlon
 %define                with_3dnow      1
 %endif
-%ifarch athlon pentium3 pentium4 %{x8664}
+%ifarch athlon pentium3 pentium4 %{x8664} x32
 %define                with_mmx        1
 %endif
-%ifarch pentium3 pentium4 %{x8664}
+%ifarch pentium3 pentium4 %{x8664} x32
 %define                with_sse        1
 %endif
-%ifarch pentium4 %{x8664}
+%ifarch pentium4 %{x8664} x32
 %define                with_sse2       1
 %endif
 # any SQL
@@ -63,7 +63,7 @@ Summary(pl.UTF-8):    Biblioteka Qt do tworzenia GUI
 Summary(pt_BR.UTF-8):  Estrutura para rodar aplicações GUI Qt
 Name:          qt4
 Version:       4.8.7
-Release:       31
+Release:       32
 License:       LGPL v2.1 or GPL v3.0
 Group:         X11/Libraries
 Source0:       http://download.qt-project.org/official_releases/qt/4.8/%{version}/qt-everywhere-opensource-src-%{version}.tar.gz
@@ -188,7 +188,11 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define                _noautoreqdep   libGL.so.1 libGLU.so.1
 %define                _noautostrip    '.*_debug\\.so*'
 
-%define                specflags       -fno-strict-aliasing -O1
+%ifarch %{ix86}
+%define                specflags       -fno-strict-aliasing -O0
+%else
+%define                specflags       -fno-strict-aliasing
+%endif
 
 %define                _qtdir          %{_libdir}/qt4
 
This page took 0.153751 seconds and 4 git commands to generate.