net-libs/webkit-gtk: add workaround for riscv build failure

There's a reproducible build failure on riscv that has been open
upstream for almost six months. On my machine at least, it can be worked
around by passing -DENABLE_JIT=OFF to CMake, so let's do that in the
meantime when USE=riscv is set.

Closes: https://bugs.gentoo.org/938162
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2024-09-01 13:48:07 -04:00
parent 3df2a96210
commit 77f5000b1f
3 changed files with 9 additions and 0 deletions
@@ -240,6 +240,9 @@ src_configure() {
-DUSE_WOFF2=ON
)
# Temporary workaround for bug 938162 (upstream bug 271371).
use riscv && mycmakeargs+=( -DENABLE_JIT=OFF )
# https://bugs.gentoo.org/761238
append-cppflags -DNDEBUG
@@ -244,6 +244,9 @@ src_configure() {
-DUSE_WOFF2=ON
)
# Temporary workaround for bug 938162 (upstream bug 271371).
use riscv && mycmakeargs+=( -DENABLE_JIT=OFF )
# https://bugs.gentoo.org/761238
append-cppflags -DNDEBUG
@@ -238,6 +238,9 @@ src_configure() {
-DUSE_WOFF2=ON
)
# Temporary workaround for bug 938162 (upstream bug 271371).
use riscv && mycmakeargs+=( -DENABLE_JIT=OFF )
# https://bugs.gentoo.org/761238
append-cppflags -DNDEBUG