summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-02-12 02:06:33 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-02-12 02:23:36 +0100
commita66d8f75b61dd858beedc5f4e9db953a4737a898 (patch)
treefd189e7e52070aede51acb2156086efc06c7dca0 /www-client
parentmozconfig-v6.60.eclass: set correct update channel for ESR versions (diff)
downloadgentoo-a66d8f75b61dd858beedc5f4e9db953a4737a898.tar.gz
gentoo-a66d8f75b61dd858beedc5f4e9db953a4737a898.tar.bz2
gentoo-a66d8f75b61dd858beedc5f4e9db953a4737a898.zip
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 <whissi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/firefox/firefox-60.5.0-r1.ebuild (renamed from www-client/firefox/firefox-60.5.0.ebuild)4
1 files changed, 4 insertions, 0 deletions
diff --git a/www-client/firefox/firefox-60.5.0.ebuild b/www-client/firefox/firefox-60.5.0-r1.ebuild
index 1603e3b24c9..295da318cc0 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