summaryrefslogtreecommitdiff
path: root/packages/qt4/qt4-x11-free-4.1.2/configurable-cpu-extensions.patch
blob: ab943db1ff3d81a1f48cd0f928bef888ae304986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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