commit:     f215ad14657d298836e3fc2755d9c03df68fa4ca
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  3 21:34:53 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Sep  3 21:34:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f215ad14

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 <whissi <AT> gentoo.org>

 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 43ec0ecf53d..60bf8f33a6b 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 c4c6b6ff6d9..e21d8c9520e 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)"

Reply via email to