From a66d8f75b61dd858beedc5f4e9db953a4737a898 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 12 Feb 2019 02:06:33 +0100 Subject: [PATCH] www-client/firefox: backport elf-hack workaround This commit backports commit b44217eba1c2f4a6f489def0665dcf281108ff87. Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann --- .../{firefox-60.5.0.ebuild => firefox-60.5.0-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+) rename www-client/firefox/{firefox-60.5.0.ebuild => firefox-60.5.0-r1.ebuild} (98%) diff --git a/www-client/firefox/firefox-60.5.0.ebuild b/www-client/firefox/firefox-60.5.0-r1.ebuild similarity index 98% rename from www-client/firefox/firefox-60.5.0.ebuild rename to www-client/firefox/firefox-60.5.0-r1.ebuild index 1603e3b24c9b..295da318cc00 100644 --- a/www-client/firefox/firefox-60.5.0.ebuild +++ b/www-client/firefox/firefox-60.5.0-r1.ebuild @@ -234,6 +234,10 @@ src_configure() { mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + # allow elfhack to work in combination with unstripped binaries + # when they would normally be larger than 2GiB. + append-ldflags "-Wl,--compress-debug-sections=zlib" + if use clang ; then # https://bugzilla.mozilla.org/show_bug.cgi?id=1423822 mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack -- 2.26.2