www-client/firefox: disable elf-hack (again!) when USE=clang
authorThomas Deutschmann <whissi@gentoo.org>
Tue, 12 Feb 2019 00:33:46 +0000 (01:33 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Tue, 12 Feb 2019 00:34:05 +0000 (01:34 +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 5fe43fe3beee3949a0c8ac5db4ae8045c4c07c87..b1800c1eb71c25e3ba7a13b8db4829ed9c8ffcf2 100644 (file)
@@ -482,6 +482,12 @@ src_configure() {
        # 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=1482204
+               # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
+               mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack
+       fi
+
        echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
        echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig