commit:     68dde89f8b841cb0290cd36cfeb4638830689ed4
Author:     Randy Barlow <randy <AT> electronsweatshop <DOT> com>
AuthorDate: Sat Oct  1 17:48:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 13:44:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68dde89f

app-shells/starship: Filter LTO flags

See also https://github.com/gentoo/gentoo/pull/27541/

Closes: https://bugs.gentoo.org/869758
Co-authored-by: Ian Jordan <immoloism <AT> gmail.com>
Signed-off-by: Randy Barlow <randy <AT> electronsweatshop.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-shells/starship/starship-1.10.3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-shells/starship/starship-1.10.3.ebuild 
b/app-shells/starship/starship-1.10.3.ebuild
index 72eec2a513ef..2b91c3a58414 100644
--- a/app-shells/starship/starship-1.10.3.ebuild
+++ b/app-shells/starship/starship-1.10.3.ebuild
@@ -373,7 +373,7 @@ CRATES="
        zvariant_derive-3.6.0
 "
 
-inherit cargo
+inherit cargo flag-o-matic
 
 DESCRIPTION="The minimal, blazing-fast, and infinitely customizable prompt for 
any shell"
 HOMEPAGE="https://starship.rs/";
@@ -392,6 +392,9 @@ BDEPEND=">=virtual/rust-1.59"
 QA_FLAGS_IGNORED="usr/bin/starship"
 
 src_configure() {
+       # See https://bugs.gentoo.org/869758
+       filter-lto
+
        export PKG_CONFIG_ALLOW_CROSS=1
        export OPENSSL_NO_VENDOR=true
 

Reply via email to