commit:     88ead78a85613171465a92233bc811612ab98ea1
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 16:33:37 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 17:39:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ead78a

www-client/firefox: filter pack-relative-relocs on 124.0.1

 - let the build system handle it via configure.

Bug: https://bugs.gentoo.org/916405
Bug: https://bugs.gentoo.org/888055
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 www-client/firefox/firefox-124.0.1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www-client/firefox/firefox-124.0.1.ebuild 
b/www-client/firefox/firefox-124.0.1.ebuild
index a0957eca1455..892931985d27 100644
--- a/www-client/firefox/firefox-124.0.1.ebuild
+++ b/www-client/firefox/firefox-124.0.1.ebuild
@@ -1052,7 +1052,10 @@ src_configure() {
        fi
 
        # elf-hack
+       # Filter "-z,pack-relative-relocs" and let the build system handle it 
instead. 
        if use amd64 || use x86 ; then
+               filter-flags "-z,pack-relative-relocs"
+
                if tc-ld-is-mold ; then
                        # relr-elf-hack is currently broken with mold, 
bgo#916259
                        mozconfig_add_options_ac 'disable elf-hack with mold 
linker' --disable-elf-hack

Reply via email to