|
@@ -53,4 +53,13 @@ else
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF
|
|
WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF
|
|
endif
|
|
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))
|
|
$(eval $(cmake-package))
|