summaryrefslogtreecommitdiff
path: root/www-client/firefox/firefox-124.0.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/firefox/firefox-124.0.1.ebuild')
-rw-r--r--www-client/firefox/firefox-124.0.1.ebuild3
1 files changed, 3 insertions, 0 deletions
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