From: Thomas Deutschmann Date: Sun, 30 Sep 2018 19:38:38 +0000 (+0200) Subject: www-client/firefox: disable elf-hack when USE=clang X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=01612f827733459b9d378e60ad895d1365fac20d;p=gentoo.git www-client/firefox: disable elf-hack when USE=clang Bug: https://bugs.gentoo.org/667216 Signed-off-by: Thomas Deutschmann Package-Manager: Portage-2.3.50, Repoman-2.3.11 --- diff --git a/www-client/firefox/firefox-60.2.1-r1.ebuild b/www-client/firefox/firefox-60.2.1-r1.ebuild index 944c98fcc47a..731dc4e13cec 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 e83a43676a44..6390b7d12352 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