summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt4-x11-free-4.1.2/configurable-cpu-extensions.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qt4/qt4-x11-free-4.1.2/configurable-cpu-extensions.patch')
-rw-r--r--recipes/qt4/qt4-x11-free-4.1.2/configurable-cpu-extensions.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-x11-free-4.1.2/configurable-cpu-extensions.patch b/recipes/qt4/qt4-x11-free-4.1.2/configurable-cpu-extensions.patch
new file mode 100644
index 0000000000..ab943db1ff
--- /dev/null
+++ b/recipes/qt4/qt4-x11-free-4.1.2/configurable-cpu-extensions.patch
@@ -0,0 +1,34 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- qt-x11-opensource-src-4.1.1/configure~configurable-cpu-extensions
++++ qt-x11-opensource-src-4.1.1/configure
+@@ -564,6 +564,12 @@
+ VAL=$1
+ fi
+ ;;
++ -nosse)
++ CFG_SSE="no"
++ ;;
++ -sse)
++ CFG_SSE="yes"
++ ;;
+ -iwmmxt)
+ CFG_IWMMXT="yes"
+ ;;
+@@ -1759,13 +1765,6 @@
+ fi
+ fi
+
+-# detect sse support
+-if $unixtests/sse.test $XQMAKESPEC $OPT_VERBOSE; then
+- CFG_HAVE_SSE=no
+-else
+- CFG_HAVE_SSE=yes
+-fi
+-
+ # check iwmmxt support
+ if [ "$CFG_IWMMXT" = "yes" ]; then
+ if ! $unixtests/iwmmxt.test $XQMAKESPEC $OPT_VERBOSE; then