summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-02-12 01:33:46 +0100
committerThomas Deutschmann <whissi@gentoo.org>2019-02-12 01:34:05 +0100
commit30055b335619dabd0c36adf964007f1a0033d026 (patch)
treed7abd0961af046f6b59bca7470863b2c109f5bda /www-client/firefox
parentnet-libs/libmicrohttpd: version bump to 0.9.63 (diff)
downloadgentoo-30055b335619dabd0c36adf964007f1a0033d026.tar.gz
gentoo-30055b335619dabd0c36adf964007f1a0033d026.tar.bz2
gentoo-30055b335619dabd0c36adf964007f1a0033d026.zip
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@gentoo.org>
Diffstat (limited to 'www-client/firefox')
-rw-r--r--www-client/firefox/firefox-65.0-r1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/www-client/firefox/firefox-65.0-r1.ebuild b/www-client/firefox/firefox-65.0-r1.ebuild
index 5fe43fe3beee..b1800c1eb71c 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