Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/firefox/
Date: Tue, 12 Feb 2019 00:34:24
Message-Id: 1549931645.30055b335619dabd0c36adf964007f1a0033d026.whissi@gentoo
1 commit: 30055b335619dabd0c36adf964007f1a0033d026
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 12 00:33:46 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 12 00:34:05 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30055b33
7
8 www-client/firefox: disable elf-hack (again!) when USE=clang
9
10 Package-Manager: Portage-2.3.59, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 www-client/firefox/firefox-65.0-r1.ebuild | 6 ++++++
14 1 file changed, 6 insertions(+)
15
16 diff --git a/www-client/firefox/firefox-65.0-r1.ebuild b/www-client/firefox/firefox-65.0-r1.ebuild
17 index 5fe43fe3bee..b1800c1eb71 100644
18 --- a/www-client/firefox/firefox-65.0-r1.ebuild
19 +++ b/www-client/firefox/firefox-65.0-r1.ebuild
20 @@ -482,6 +482,12 @@ src_configure() {
21 # when they would normally be larger than 2GiB.
22 append-ldflags "-Wl,--compress-debug-sections=zlib"
23
24 + if use clang ; then
25 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1482204
26 + # https://bugzilla.mozilla.org/show_bug.cgi?id=1483822
27 + mozconfig_annotate 'elf-hack is broken when using Clang' --disable-elf-hack
28 + fi
29 +
30 echo "mk_add_options MOZ_OBJDIR=${BUILD_OBJ_DIR}" >> "${S}"/.mozconfig
31 echo "mk_add_options XARGS=/usr/bin/xargs" >> "${S}"/.mozconfig