From: Thomas Deutschmann Date: Tue, 3 Sep 2019 21:34:53 +0000 (+0200) Subject: www-client/firefox: fix USE=lto when USE=-pgo X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f215ad14657d298836e3fc2755d9c03df68fa4ca;p=gentoo.git www-client/firefox: fix USE=lto when USE=-pgo Closes: https://bugs.gentoo.org/689358 Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann --- diff --git a/www-client/firefox/firefox-68.1.0.ebuild b/www-client/firefox/firefox-68.1.0.ebuild index 43ec0ecf53d8..60bf8f33a6b5 100644 --- a/www-client/firefox/firefox-68.1.0.ebuild +++ b/www-client/firefox/firefox-68.1.0.ebuild @@ -381,6 +381,9 @@ src_configure() { show_old_compiler_warning=1 fi + # Bug 689358 + append-cxxflags -flto + if ! use cpu_flags_x86_avx2 ; then local _gcc_version_with_ipa_cdtor_fix="8.3" local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)" diff --git a/www-client/firefox/firefox-69.0.ebuild b/www-client/firefox/firefox-69.0.ebuild index c4c6b6ff6d94..e21d8c9520eb 100644 --- a/www-client/firefox/firefox-69.0.ebuild +++ b/www-client/firefox/firefox-69.0.ebuild @@ -390,6 +390,9 @@ src_configure() { show_old_compiler_warning=1 fi + # Bug 689358 + append-cxxflags -flto + if ! use cpu_flags_x86_avx2 ; then local _gcc_version_with_ipa_cdtor_fix="8.3" local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)"