Blame qtdeclarative-opensource-src-5.2.0-NO_I386_JIT.patch

Rex Dieter 4041a1e
diff -up qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/jsruntime.pri.fedora_i686_flags qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/jsruntime.pri
Rex Dieter 4041a1e
--- qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/jsruntime.pri.fedora_i686_flags	2013-11-26 19:02:16.000000000 -0600
Rex Dieter 4041a1e
+++ qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/jsruntime.pri	2013-12-10 10:27:16.082852640 -0600
Rex Dieter 4041a1e
@@ -92,9 +92,12 @@ HEADERS += \
Rex Dieter 4041a1e
 # Use SSE2 floating point math on 32 bit instead of the default
Rex Dieter 4041a1e
 # 387 to make test results pass on 32 and on 64 bit builds.
Rex Dieter 4041a1e
 linux-g++*:isEqual(QT_ARCH,i386) {
Rex Dieter 4041a1e
+CONFIG(NO_I386_JIT) {
Rex Dieter 4041a1e
+    DEFINES += NO_I386_JIT
Rex Dieter 4041a1e
+} else {
Rex Dieter 4041a1e
     QMAKE_CFLAGS += -march=pentium4 -msse2 -mfpmath=sse
Rex Dieter 4041a1e
     QMAKE_CXXFLAGS += -march=pentium4 -msse2 -mfpmath=sse
Rex Dieter 4041a1e
-}
Rex Dieter 4041a1e
+}}
Rex Dieter 4041a1e
 
Rex Dieter 4041a1e
 valgrind {
Rex Dieter 4041a1e
     DEFINES += V4_USE_VALGRIND
Rex Dieter 4041a1e
diff -up qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/qv4global_p.h.fedora_i686_flags qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/qv4global_p.h
Rex Dieter 4041a1e
--- qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/qv4global_p.h.fedora_i686_flags	2013-11-26 19:02:16.000000000 -0600
Rex Dieter 4041a1e
+++ qtdeclarative-opensource-src-5.2.0-rc1/src/qml/jsruntime/qv4global_p.h	2013-12-10 10:02:14.360839311 -0600
Rex Dieter 4041a1e
@@ -84,7 +84,7 @@ inline double trunc(double d) { return d
Rex Dieter 4041a1e
 
Rex Dieter 4041a1e
 // Black list some platforms
Rex Dieter 4041a1e
 #if defined(V4_ENABLE_JIT)
Rex Dieter 4041a1e
-#if defined(Q_OS_IOS) || defined(Q_OS_WIN64) || defined(Q_OS_WINRT)
Rex Dieter 4041a1e
+#if defined(Q_OS_IOS) || defined(Q_OS_WIN64) || defined(Q_OS_WINRT) || defined(NO_I386_JIT)
Rex Dieter 4041a1e
 #    undef V4_ENABLE_JIT
Rex Dieter 4041a1e
 #endif
Rex Dieter 4041a1e
 #endif