aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt5-qtdeclarative/disable-mips-jit.patch
diff options
context:
space:
mode:
authoralpine-mips-patches <info@mobile-stream.com>2018-12-20 14:06:58 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-12-27 10:23:49 +0000
commit3f7df8f1c6e61942cea421df94545a2dff4943da (patch)
tree03f02479d2d03e3710bc01613c6f39b3197590a8 /community/qt5-qtdeclarative/disable-mips-jit.patch
parent880aa1b5c01e1e14f9295a953dbf37cbd08d24a9 (diff)
downloadaports-3f7df8f1c6e61942cea421df94545a2dff4943da.tar.bz2
aports-3f7df8f1c6e61942cea421df94545a2dff4943da.tar.xz
community/qt5-qtdeclarative: disable JIT on mips*
MIPS JIT code is broken in upstream, does not even compile.
Diffstat (limited to 'community/qt5-qtdeclarative/disable-mips-jit.patch')
-rw-r--r--community/qt5-qtdeclarative/disable-mips-jit.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/qt5-qtdeclarative/disable-mips-jit.patch b/community/qt5-qtdeclarative/disable-mips-jit.patch
new file mode 100644
index 0000000000..445d400a82
--- /dev/null
+++ b/community/qt5-qtdeclarative/disable-mips-jit.patch
@@ -0,0 +1,22 @@
+--- a/src/qml/jit/qv4targetplatform_p.h
++++ b/src/qml/jit/qv4targetplatform_p.h
+@@ -604,7 +604,7 @@
+ };
+ #endif // ARM64
+
+-#if defined(Q_PROCESSOR_MIPS_32) && defined(Q_OS_LINUX)
++#if defined(Q_PROCESSOR_MIPS_32) && defined(Q_OS_LINUX) && 0
+ template <>
+ class TargetPlatform<JSC::MacroAssemblerMIPS, NoOperatingSystemSpecialization>
+ {
+--- a/src/qml/jsruntime/qv4global_p.h
++++ b/src/qml/jsruntime/qv4global_p.h
+@@ -107,7 +107,7 @@
+ # if defined(Q_OS_LINUX) || defined(Q_OS_QNX)
+ # define V4_ENABLE_JIT
+ # endif
+-#elif defined(Q_PROCESSOR_MIPS_32) && defined(Q_OS_LINUX)
++#elif defined(Q_PROCESSOR_MIPS_32) && defined(Q_OS_LINUX) && 0
+ # define V4_ENABLE_JIT
+ #endif
+