commit:     e4a719d3390f774ca1ab0e3c32b32be2d50c2610
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 15 05:06:29 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Aug 15 05:06:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4a719d3

www-client/firefox: disable jit on riscv, on 129.0.1

Closes: https://bugs.gentoo.org/937867
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/firefox-129.0.1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/www-client/firefox/firefox-129.0.1.ebuild 
b/www-client/firefox/firefox-129.0.1.ebuild
index 60d216dd53e7..ab851377658d 100644
--- a/www-client/firefox/firefox-129.0.1.ebuild
+++ b/www-client/firefox/firefox-129.0.1.ebuild
@@ -857,9 +857,11 @@ src_configure() {
                mozconfig_add_options_ac '' --enable-sandbox
        fi
 
-       # Enable JIT on riscv64 explicitly
+       # Enable JIT on riscv64 explicitly, since it's not activated 
automatically via "known arches" list.
        # Can be removed once upstream enable it by default in the future.
-       use riscv && mozconfig_add_options_ac 'Enable JIT for RISC-V 64' 
--enable-jit
+       # Update 129.0.1: Disable jit on riscv (this line can be blanked to 
disable by default),
+       # bgo#937867.
+       use riscv && mozconfig_add_options_ac 'Disable JIT for RISC-V 64' 
--disable-jit
 
        if [[ -s "${S}/api-google.key" ]] ; then
                local key_origin="Gentoo default"

Reply via email to