From f215ad14657d298836e3fc2755d9c03df68fa4ca Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Tue, 3 Sep 2019 23:34:53 +0200 Subject: [PATCH] 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 --- www-client/firefox/firefox-68.1.0.ebuild | 3 +++ www-client/firefox/firefox-69.0.ebuild | 3 +++ 2 files changed, 6 insertions(+) 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)" -- 2.26.2