aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adrian Perez de Castro <aperez@igalia.com>2020-02-11 22:44:45 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-02-11 23:33:52 +0100
commitf779520a63ef5abcb3e28db6159e8762c67dfbf4 (patch)
treed33434e9bbf159a0abdc2738e1391bf2b28957b7
parent5eb70cecedd03e08977a06bcc115b6a954d3da9a (diff)
downloadbuildroot-f779520a63ef5abcb3e28db6159e8762c67dfbf4.tar.gz
buildroot-f779520a63ef5abcb3e28db6159e8762c67dfbf4.tar.bz2
package/wpewebkit: disable JSC JIT for MIPSr6
Forcibly disable the JavaScriptCore JIT compilation support for MIPSr6 processors, which are unsupported. Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/wpewebkit/wpewebkit.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/wpewebkit/wpewebkit.mk b/package/wpewebkit/wpewebkit.mk
index cf45b68943..8b890301b7 100644
--- a/package/wpewebkit/wpewebkit.mk
+++ b/package/wpewebkit/wpewebkit.mk
@@ -63,4 +63,13 @@ else
WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF
endif
+# JIT is not supported for MIPS r6, but the WebKit build system does not
+# have a check for these processors. Disable JIT forcibly here and use
+# the CLoop interpreter instead.
+#
+# Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=191258
+ifeq ($(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y)
+WPEWEBKIT_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON
+endif
+
$(eval $(cmake-package))