From: Thomas Deutschmann <whissi@gentoo.org>
Date: Sun, 7 Oct 2018 17:09:02 +0000 (+0200)
Subject: www-client/firefox: use ThinLTO mode when USE=lto
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2f69a379837e7e98639b4349450bbc025e925cc0;p=gentoo.git

www-client/firefox: use ThinLTO mode when USE=lto

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
---

diff --git a/www-client/firefox/firefox-62.0.3.ebuild b/www-client/firefox/firefox-62.0.3.ebuild
index 98a5c00667ab..1b23c6994a07 100644
--- a/www-client/firefox/firefox-62.0.3.ebuild
+++ b/www-client/firefox/firefox-62.0.3.ebuild
@@ -299,7 +299,7 @@ src_configure() {
 			mozconfig_annotate "forcing ld=gold due to USE=lto" --enable-linker=gold
 		fi
 
-		mozconfig_annotate '+lto' --enable-lto=full
+		mozconfig_annotate '+lto' --enable-lto=thin
 	else
 		# Avoid auto-magic on linker
 		if use clang ; then