commit: 01612f827733459b9d378e60ad895d1365fac20d Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Sun Sep 30 19:38:38 2018 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Sun Sep 30 20:05:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01612f82
www-client/firefox: disable elf-hack when USE=clang Bug: https://bugs.gentoo.org/667216 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11 www-client/firefox/firefox-60.2.1-r1.ebuild | 5 +++++ www-client/firefox/firefox-62.0.2.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/www-client/firefox/firefox-60.2.1-r1.ebuild b/www-client/firefox/firefox-60.2.1-r1.ebuild index 944c98fcc47..731dc4e13ce 100644 --- a/www-client/firefox/firefox-60.2.1-r1.ebuild +++ b/www-client/firefox/firefox-60.2.1-r1.ebuild @@ -240,6 +240,11 @@ src_configure() { mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + if use clang ; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1423822 + 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 diff --git a/www-client/firefox/firefox-62.0.2.ebuild b/www-client/firefox/firefox-62.0.2.ebuild index e83a43676a4..6390b7d1235 100644 --- a/www-client/firefox/firefox-62.0.2.ebuild +++ b/www-client/firefox/firefox-62.0.2.ebuild @@ -421,6 +421,11 @@ src_configure() { mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}" + if use clang ; then + # https://bugzilla.mozilla.org/show_bug.cgi?id=1423822 + 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