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

Closes: https://bugs.gentoo.org/930779
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Joonas Niilola
2024-04-29 11:25:44 +03:00
parent 5627812524
commit 09bf58ee6d

View File

@@ -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"