commit: 30055b335619dabd0c36adf964007f1a0033d026
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 12 00:33:46 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Feb 12 00:34:05 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30055b33
www-client/firefox: disable elf-hack (again!) when USE=clang
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
www-client/firefox/firefox-65.0-r1.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/www-client/firefox/firefox-65.0-r1.ebuild
b/www-client/firefox/firefox-65.0-r1.ebuild
index 5fe43fe3bee..b1800c1eb71 100644
--- a/www-client/firefox/firefox-65.0-r1.ebuild
+++ b/www-client/firefox/firefox-65.0-r1.ebuild
@@ -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