File qt5-workaround-qtbug-29426.patch of Package mingw32-libqt5-qtbase-static

--- src/corelib/tools/qsimd_p.h.orig	2013-02-07 20:31:43.010726116 +0100
+++ src/corelib/tools/qsimd_p.h	2013-02-07 20:35:14.324371318 +0100
@@ -142,7 +142,8 @@
 
 // other x86 intrinsics
 #if defined(QT_COMPILER_SUPPORTS_AVX) && defined(Q_CC_GNU) && \
-    (!defined(Q_CC_INTEL)|| __INTEL_COMPILER >= 1310 || (__GNUC__ * 100 + __GNUC_MINOR__ < 407))
+    (!defined(Q_CC_INTEL)|| __INTEL_COMPILER >= 1310 || (__GNUC__ * 100 + __GNUC_MINOR__ < 407)) && \
+    (defined(__i386__) || defined(__x86_64__))
 #define QT_COMPILER_SUPPORTS_X86INTRIN
 #include <x86intrin.h>
 #endif
openSUSE Build Service is sponsored by