www-client/firefox: add workaround for and re-enable elfhack
authorThomas Deutschmann <whissi@gentoo.org>
Sun, 10 Feb 2019 00:53:56 +0000 (01:53 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Sun, 10 Feb 2019 21:49:57 +0000 (22:49 +0100)
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
www-client/firefox/firefox-65.0-r1.ebuild

index 3496160e8fff3340a6d13b4a557376c94e3d354f..55b80a7b8b700bd90c518a35d9c5a1fc94128385 100644 (file)
@@ -468,9 +468,9 @@ src_configure() {
        # disable webrtc for now, bug 667642
        use arm && mozconfig_annotate 'broken on arm' --disable-webrtc
 
-       # https://bugzilla.mozilla.org/show_bug.cgi?id=1423822
-       # bug #669382 #676908
-       mozconfig_annotate 'elf-hack is broken' --disable-elf-hack
+       # allow elfhack to work in combination with unstripped binaries
+       # when they would normally be larger than 2GiB.
+       append-ldflags "-Wl,--compress-debug-sections=zlib"
 
        echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
        echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig