From 09bf58ee6d5c726d9c7a77ea5bf1d0640e9529c2 Mon Sep 17 00:00:00 2001 From: Joonas Niilola Date: Mon, 29 Apr 2024 11:25:44 +0300 Subject: [PATCH] mail-client/thunderbird: sync disable-elf hack condition for ppc64 Closes: https://bugs.gentoo.org/930779 Signed-off-by: Joonas Niilola --- 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 1b82272c326de..b05e9d125a556 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"