Date: Thursday, April 10, 2014 @ 15:06:25
  Author: andrea
Revision: 210153

upgpkg: qt5 5.2.1-3

Fix i686 segfault on AMD (FS#38796)

Modified:
  qt5/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-04-10 12:53:09 UTC (rev 210152)
+++ PKGBUILD    2014-04-10 13:06:25 UTC (rev 210153)
@@ -22,7 +22,7 @@
          'qt5-x11extras'
          'qt5-xmlpatterns')
 pkgver=5.2.1
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url='http://qt-project.org/'
 license=('GPL3' 'LGPL' 'FDL' 'custom')
@@ -65,6 +65,8 @@
   export 
LD_LIBRARY_PATH="${QTDIR}"/qtbase/lib:"${QTDIR}"/qttools/lib:"${LD_LIBRARY_PATH}"
   export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins
 
+  [[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"
+
   PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
     -prefix /usr \
     -bindir /usr/lib/qt/bin \
@@ -81,7 +83,7 @@
     -no-rpath \
     -optimized-qmake \
     -dbus-linked \
-    -reduce-relocations
+    -reduce-relocations ${SSE2}
 
   make
 

Reply via email to