app-shells/starship: Do not strip executable

Closes: https://bugs.gentoo.org/866133
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
Closes: https://github.com/gentoo/gentoo/pull/27561
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Randy Barlow
2022-10-01 13:56:50 -04:00
committed by Sam James
parent 68dde89f8b
commit 7d2c1bb3a3
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
From 637ef935b0a4f60524a0c0ce034317f2dee04b78 Mon Sep 17 00:00:00 2001
From: Randy Barlow <randy@electronsweatshop.com>
Date: Sat, 1 Oct 2022 13:52:53 -0400
Subject: [PATCH] Do not strip executable
This should be a choice for the user.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
---
Cargo.toml | 1 -
1 file changed, 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 2fccbe11..4595c33f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -123,7 +123,6 @@ tempfile = "3.2.0"
[profile.release]
codegen-units = 1
lto = true
-strip = true
[[bin]]
name = "starship"
--
2.37.3

View File

@@ -389,6 +389,11 @@ KEYWORDS="~amd64"
BDEPEND=">=virtual/rust-1.59"
PATCHES=(
# https://bugs.gentoo.org/866133
"${FILESDIR}"/${PN}-1.10.3-no-strip.patch
)
QA_FLAGS_IGNORED="usr/bin/starship"
src_configure() {