commit:     2b646e613de013ac94dbfb10146bcb769a759bf3
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 06:58:32 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 07:22:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b646e61

www-client/firefox: 132: fix LTO check on USE=pgo path

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 www-client/firefox/firefox-132.0-r1.ebuild   | 2 +-
 www-client/firefox/firefox-132.0.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-client/firefox/firefox-132.0-r1.ebuild 
b/www-client/firefox/firefox-132.0-r1.ebuild
index f99bf2798680..858c6586a808 100644
--- a/www-client/firefox/firefox-132.0-r1.ebuild
+++ b/www-client/firefox/firefox-132.0-r1.ebuild
@@ -472,7 +472,7 @@ pkg_setup() {
                fi
 
                if use pgo ; then
-                       if [[ ${use_lto} == "yes" ]]; then
+                       if [[ ${use_lto} == "no" ]]; then
                                eerror "Building ${PN} with USE=pgo requires 
LTO!"
                                die "Please fix your CFLAGS/CXXFLAGS."
                        fi

diff --git a/www-client/firefox/firefox-132.0.1-r1.ebuild 
b/www-client/firefox/firefox-132.0.1-r1.ebuild
index 3c8bc526fd20..c767c09e4a2a 100644
--- a/www-client/firefox/firefox-132.0.1-r1.ebuild
+++ b/www-client/firefox/firefox-132.0.1-r1.ebuild
@@ -470,7 +470,7 @@ pkg_setup() {
                fi
 
                if use pgo ; then
-                       if [[ ${use_lto} == "yes" ]]; then
+                       if [[ ${use_lto} == "no" ]]; then
                                eerror "Building ${PN} with USE=pgo requires 
LTO!"
                                die "Please fix your CFLAGS/CXXFLAGS."
                        fi

Reply via email to