summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2024-01-31 19:40:40 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-01-31 19:41:38 +0200
commit5a5d704f98b2099104eb371dbbad16eeda3f1ec1 (patch)
tree0f1d8a47d19a09a744586bd4c7deaef843469de9 /www-client/firefox
parentapp-arch/createrepo_c: add 1.0.3 (diff)
downloadgentoo-5a5d704f98b2099104eb371dbbad16eeda3f1ec1.tar.gz
gentoo-5a5d704f98b2099104eb371dbbad16eeda3f1ec1.tar.bz2
gentoo-5a5d704f98b2099104eb371dbbad16eeda3f1ec1.zip
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@gentoo.org>
Diffstat (limited to 'www-client/firefox')
-rw-r--r--www-client/firefox/firefox-122.0.ebuild6
1 files 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