commit: 7186a2457d6ef4002a5baa6fcc359106bb2216d5 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Mon Apr 15 05:46:09 2024 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Mon Apr 15 06:03:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7186a245
www-client/firefox: '--disable-elf-hack' is not recognized on ppc64 - fix 115.9.1. Closes: https://bugs.gentoo.org/929244 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-client/firefox/firefox-115.9.1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/www-client/firefox/firefox-115.9.1.ebuild b/www-client/firefox/firefox-115.9.1.ebuild index 2216b95968a4..c433643b1f37 100644 --- a/www-client/firefox/firefox-115.9.1.ebuild +++ b/www-client/firefox/firefox-115.9.1.ebuild @@ -1061,7 +1061,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, #916259, #929244. + if use ppc64; 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"
