commit: 5a5d704f98b2099104eb371dbbad16eeda3f1ec1 Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Wed Jan 31 17:40:40 2024 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Jan 31 17:41:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a5d704f
www-client/firefox: fast-fix for mold+lto+pgo compile issue on 122 - handling elf-hack should be grouped together with these linker options. Closes: https://bugs.gentoo.org/923119 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> www-client/firefox/firefox-122.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www-client/firefox/firefox-122.0.ebuild b/www-client/firefox/firefox-122.0.ebuild index 0eb450b24d74..64ffe2bed4bc 100644 --- a/www-client/firefox/firefox-122.0.ebuild +++ b/www-client/firefox/firefox-122.0.ebuild @@ -981,6 +981,9 @@ src_configure() { mozconfig_add_options_ac '+x11' --enable-default-toolkit=cairo-gtk3-x11-only fi + # LTO is handled via configure + filter-lto + if use lto ; then if use clang ; then # Upstream only supports lld or mold when using clang. @@ -1028,9 +1031,6 @@ src_configure() { fi fi - # LTO flag was handled via configure - filter-lto - mozconfig_use_enable debug if use debug ; then mozconfig_add_options_ac '+debug' --disable-optimize