1 |
commit: f215ad14657d298836e3fc2755d9c03df68fa4ca |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 3 21:34:53 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 3 21:34:53 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f215ad14 |
7 |
|
8 |
www-client/firefox: fix USE=lto when USE=-pgo |
9 |
|
10 |
Closes: https://bugs.gentoo.org/689358 |
11 |
Package-Manager: Portage-2.3.75, Repoman-2.3.17 |
12 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
13 |
|
14 |
www-client/firefox/firefox-68.1.0.ebuild | 3 +++ |
15 |
www-client/firefox/firefox-69.0.ebuild | 3 +++ |
16 |
2 files changed, 6 insertions(+) |
17 |
|
18 |
diff --git a/www-client/firefox/firefox-68.1.0.ebuild b/www-client/firefox/firefox-68.1.0.ebuild |
19 |
index 43ec0ecf53d..60bf8f33a6b 100644 |
20 |
--- a/www-client/firefox/firefox-68.1.0.ebuild |
21 |
+++ b/www-client/firefox/firefox-68.1.0.ebuild |
22 |
@@ -381,6 +381,9 @@ src_configure() { |
23 |
show_old_compiler_warning=1 |
24 |
fi |
25 |
|
26 |
+ # Bug 689358 |
27 |
+ append-cxxflags -flto |
28 |
+ |
29 |
if ! use cpu_flags_x86_avx2 ; then |
30 |
local _gcc_version_with_ipa_cdtor_fix="8.3" |
31 |
local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)" |
32 |
|
33 |
diff --git a/www-client/firefox/firefox-69.0.ebuild b/www-client/firefox/firefox-69.0.ebuild |
34 |
index c4c6b6ff6d9..e21d8c9520e 100644 |
35 |
--- a/www-client/firefox/firefox-69.0.ebuild |
36 |
+++ b/www-client/firefox/firefox-69.0.ebuild |
37 |
@@ -390,6 +390,9 @@ src_configure() { |
38 |
show_old_compiler_warning=1 |
39 |
fi |
40 |
|
41 |
+ # Bug 689358 |
42 |
+ append-cxxflags -flto |
43 |
+ |
44 |
if ! use cpu_flags_x86_avx2 ; then |
45 |
local _gcc_version_with_ipa_cdtor_fix="8.3" |
46 |
local _current_gcc_version="$(gcc-major-version).$(gcc-minor-version)" |