commit:     09bf58ee6d5c726d9c7a77ea5bf1d0640e9529c2
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 29 08:25:44 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Apr 29 08:25:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bf58ee

mail-client/thunderbird: sync disable-elf hack condition for ppc64

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

 mail-client/thunderbird/thunderbird-115.10.1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/mail-client/thunderbird/thunderbird-115.10.1.ebuild 
b/mail-client/thunderbird/thunderbird-115.10.1.ebuild
index 1b82272c326d..b05e9d125a55 100644
--- a/mail-client/thunderbird/thunderbird-115.10.1.ebuild
+++ b/mail-client/thunderbird/thunderbird-115.10.1.ebuild
@@ -1015,7 +1015,13 @@ src_configure() {
        # With Firefox-115esr elf-hack=relr isn't available (only in rapid).
        # Solution: Disable build system's elf-hack completely, and add 
"-z,pack-relative-relocs"
        #  manually with gcc.
-       mozconfig_add_options_ac 'elf-hack disabled' --disable-elf-hack
+       #
+       # # 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
+       fi
 
        if use amd64 || use x86 ; then
                ! use clang && append-ldflags "-z,pack-relative-relocs"

Reply via email to