From 68dde89f8b841cb0290cd36cfeb4638830689ed4 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Sat, 1 Oct 2022 13:48:42 -0400 Subject: [PATCH] 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 Signed-off-by: Randy Barlow Signed-off-by: Sam James --- 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 72eec2a513ef3..2b91c3a58414c 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