commit: 3feb74e8603c7cfaed061271809d4df23fd35579 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Sat Jan 9 14:02:55 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sat Jan 9 14:03:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3feb74e8
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 <AT> gentoo.org> www-client/firefox/firefox-84.0.2.ebuild | 10 ---------- 1 file changed, 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
