commit:     de88ea3fb13fbe7c574ba2131a03a9fd72e7e523
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 24 05:17:14 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 14:30:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de88ea3f

sys-devel/binutils-hppa64: disable LTO for PGO

We don't build kgcc64 with LTO support (for now?) so we can't
request it in HPPA64 binutils either.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild 
b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
index 62f90e6f292a..1741130aeeeb 100644
--- a/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
+++ b/sys-devel/binutils-hppa64/binutils-hppa64-2.37_p1-r2.ebuild
@@ -276,7 +276,8 @@ src_configure() {
                # But the check does not quite work on i686: bug #760926.
                $(use_enable cet)
 
-               $(use_enable pgo pgo-build lto)
+               # No LTO for HPPA64 right now as we don't build kgcc64 with LTO 
support.
+               $(use_enable pgo pgo-build)
        )
 
        if use pgo ; then

Reply via email to