1 |
commit: 3feb74e8603c7cfaed061271809d4df23fd35579 |
2 |
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 9 14:02:55 2021 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 9 14:03:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3feb74e8 |
7 |
|
8 |
www-client/firefox: force bfd linker for gcc+lto on 84.0.2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/764590 |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
www-client/firefox/firefox-84.0.2.ebuild | 10 ---------- |
14 |
1 file changed, 10 deletions(-) |
15 |
|
16 |
diff --git a/www-client/firefox/firefox-84.0.2.ebuild b/www-client/firefox/firefox-84.0.2.ebuild |
17 |
index c27eebd9409..2331b99cccc 100644 |
18 |
--- a/www-client/firefox/firefox-84.0.2.ebuild |
19 |
+++ b/www-client/firefox/firefox-84.0.2.ebuild |
20 |
@@ -66,9 +66,7 @@ IUSE="+clang cpu_flags_arm_neon dbus debug eme-free geckodriver +gmp-autoupdate |
21 |
+system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent |
22 |
+system-libvpx +system-webp wayland wifi" |
23 |
|
24 |
-# gcc+lto is broken again, bgo#764590 |
25 |
REQUIRED_USE="debug? ( !system-av1 ) |
26 |
- lto? ( clang ) |
27 |
screencast? ( wayland )" |
28 |
|
29 |
BDEPEND="${PYTHON_DEPS} |
30 |
@@ -104,9 +102,6 @@ BDEPEND="${PYTHON_DEPS} |
31 |
) |
32 |
) |
33 |
) |
34 |
- lto? ( |
35 |
- !clang? ( sys-devel/binutils[gold] ) |
36 |
- ) |
37 |
amd64? ( >=dev-lang/yasm-1.1 ) |
38 |
x86? ( >=dev-lang/yasm-1.1 ) |
39 |
!system-av1? ( |
40 |
@@ -666,9 +661,6 @@ src_configure() { |
41 |
|
42 |
mozconfig_add_options_ac '+lto' --enable-lto=cross |
43 |
else |
44 |
- # Linking only works when using ld.gold when LTO is enabled |
45 |
- mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold |
46 |
- |
47 |
# ThinLTO is currently broken, see bmo#1644409 |
48 |
mozconfig_add_options_ac '+lto' --enable-lto=full |
49 |
fi |
50 |
@@ -686,8 +678,6 @@ src_configure() { |
51 |
if use clang ; then |
52 |
# This is upstream's default |
53 |
mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld |
54 |
- elif tc-ld-is-gold ; then |
55 |
- mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold |
56 |
else |
57 |
mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd |
58 |
fi |