From 30055b335619dabd0c36adf964007f1a0033d026 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 12 Feb 2019 01:33:46 +0100 Subject: 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 --- www-client/firefox/firefox-65.0-r1.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'www-client/firefox') 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 -- cgit v1.2.3-65-gdbad