summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Barlow <randy@electronsweatshop.com>2022-10-01 13:48:42 -0400
committerSam James <sam@gentoo.org>2022-10-04 14:44:27 +0100
commit68dde89f8b841cb0290cd36cfeb4638830689ed4 (patch)
treefe0ff1e0709ad22cb96ee1e7b901837d8605ff15 /app-shells
parentapp-shells/starship: Add 1.10.3 (diff)
downloadgentoo-68dde89f8b841cb0290cd36cfeb4638830689ed4.tar.gz
gentoo-68dde89f8b841cb0290cd36cfeb4638830689ed4.tar.bz2
gentoo-68dde89f8b841cb0290cd36cfeb4638830689ed4.zip
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@gmail.com> Signed-off-by: Randy Barlow <randy@electronsweatshop.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/starship/starship-1.10.3.ebuild5
1 files changed, 4 insertions, 1 deletions
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