commit:     0a2aae49a360a5424cbbad9c2c672fe356bfd2ab
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 07:14:20 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 07:17:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2aae49

www-client/firefox: '--disable-elf-hack' is not recognized on riscv

  - fix 115.9.1, tested on Pioneer Box (riscv64)

Closes: https://bugs.gentoo.org/930046
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

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

diff --git a/www-client/firefox/firefox-115.9.1.ebuild 
b/www-client/firefox/firefox-115.9.1.ebuild
index c433643b1f37..d07acf7df8f4 100644
--- a/www-client/firefox/firefox-115.9.1.ebuild
+++ b/www-client/firefox/firefox-115.9.1.ebuild
@@ -1062,8 +1062,8 @@ src_configure() {
        # Solution: Disable build system's elf-hack completely, and add 
"-z,pack-relative-relocs"
        #  manually with gcc.
        #
-       # elf-hack configure option isn't available on ppc64, #916259, #929244.
-       if use ppc64; then
+       # elf-hack configure option isn't available on ppc64/riscv, #916259, 
#929244, #930046.
+       if use ppc64 || use riscv ; then
                :;
        else
                mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack

Reply via email to