From 3529f1bf2739399905cd55b27c7609459bfc069f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Oct 2023 14:48:06 +0100 Subject: gentoo auto-resync : 27:10:2023 - 14:48:06 --- www-client/firefox/firefox-119.0.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'www-client/firefox/firefox-119.0.ebuild') diff --git a/www-client/firefox/firefox-119.0.ebuild b/www-client/firefox/firefox-119.0.ebuild index 13d0e1b403ba..fb9a32336ba3 100644 --- a/www-client/firefox/firefox-119.0.ebuild +++ b/www-client/firefox/firefox-119.0.ebuild @@ -1062,10 +1062,15 @@ src_configure() { # elf-hack if use amd64 || use x86 ; then - if use clang ; then - mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr + 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 else - mozconfig_add_options_ac 'legacy elf-hack with gcc' --enable-elf-hack=legacy + if use clang ; then + mozconfig_add_options_ac 'relr elf-hack with clang' --enable-elf-hack=relr + else + mozconfig_add_options_ac 'legacy elf-hack with gcc' --enable-elf-hack=legacy + fi fi else mozconfig_add_options_ac 'disable elf-hack on non-supported arches' --disable-elf-hack -- cgit v1.2.3