summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-01-09 16:02:55 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-09 16:03:48 +0200
commit3feb74e8603c7cfaed061271809d4df23fd35579 (patch)
tree6c4f39f7c9a99a71392a879a8923b8d2f02e13bb
parentx11-drivers/xf86-video-omap: fix build (diff)
downloadgentoo-3feb74e8603c7cfaed061271809d4df23fd35579.tar.gz
gentoo-3feb74e8603c7cfaed061271809d4df23fd35579.tar.bz2
gentoo-3feb74e8603c7cfaed061271809d4df23fd35579.zip
www-client/firefox: force bfd linker for gcc+lto on 84.0.2
Closes: https://bugs.gentoo.org/764590 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--www-client/firefox/firefox-84.0.2.ebuild10
1 files changed, 0 insertions, 10 deletions
diff --git a/www-client/firefox/firefox-84.0.2.ebuild b/www-client/firefox/firefox-84.0.2.ebuild
index c27eebd9409..2331b99cccc 100644
--- a/www-client/firefox/firefox-84.0.2.ebuild
+++ b/www-client/firefox/firefox-84.0.2.ebuild
@@ -66,9 +66,7 @@ IUSE="+clang cpu_flags_arm_neon dbus debug eme-free geckodriver +gmp-autoupdate
+system-av1 +system-harfbuzz +system-icu +system-jpeg +system-libevent
+system-libvpx +system-webp wayland wifi"
-# gcc+lto is broken again, bgo#764590
REQUIRED_USE="debug? ( !system-av1 )
- lto? ( clang )
screencast? ( wayland )"
BDEPEND="${PYTHON_DEPS}
@@ -104,9 +102,6 @@ BDEPEND="${PYTHON_DEPS}
)
)
)
- lto? (
- !clang? ( sys-devel/binutils[gold] )
- )
amd64? ( >=dev-lang/yasm-1.1 )
x86? ( >=dev-lang/yasm-1.1 )
!system-av1? (
@@ -666,9 +661,6 @@ src_configure() {
mozconfig_add_options_ac '+lto' --enable-lto=cross
else
- # Linking only works when using ld.gold when LTO is enabled
- mozconfig_add_options_ac "forcing ld=gold due to USE=lto" --enable-linker=gold
-
# ThinLTO is currently broken, see bmo#1644409
mozconfig_add_options_ac '+lto' --enable-lto=full
fi
@@ -686,8 +678,6 @@ src_configure() {
if use clang ; then
# This is upstream's default
mozconfig_add_options_ac "forcing ld=lld due to USE=clang" --enable-linker=lld
- elif tc-ld-is-gold ; then
- mozconfig_add_options_ac "linker is set to gold" --enable-linker=gold
else
mozconfig_add_options_ac "linker is set to bfd" --enable-linker=bfd
fi