diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index d9aa48f024..161807bc5a 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -173,18 +173,16 @@ else WEBKITGTK_CONF_OPTS += -DENABLE_JOURNALD_LOG=OFF endif -# JIT is not supported for MIPS r6, but the WebKit build system does not -# have a check for these processors. The same goes for ARMv5 and ARMv6. +# JIT is not supported for MIPS, ARMv5, and ARMv6, but the WebKit build +# system does not have a check for some of these target processors. +# # Disable JIT forcibly here and use the CLoop interpreter instead. +# Also, we have to disable the sampling profiler and WebAssembly, which +# do NOT work with ENABLE_C_LOOP. # -# Also, we have to disable the sampling profiler and webassembly, -# which does NOT work with ENABLE_C_LOOP. +# Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=278559 # -# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258 -# https://bugs.webkit.org/show_bug.cgi?id=172765 -# https://bugs.webkit.org/show_bug.cgi?id=265218 -# -ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_mips)$(BR2_mipsel),y) WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON \ -DENABLE_SAMPLING_PROFILER=OFF \ -DENABLE_WEBASSEMBLY=OFF