aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuje Mihanović <duje.mihanovic@skole.hr>2022-07-25 13:07:57 +0200
committerDuje Mihanović <duje.mihanovic@skole.hr>2022-07-25 13:07:57 +0200
commit2f46303319730b496fef9cc4593700af39aaa3f5 (patch)
tree69881f5b5f1e7dda243c16534b1d3d61f45e19f4 /net-misc/peertube-viewer-rs
parentgames-fps/assaultcube: force disable LTO (diff)
downloadguru-2f46303319730b496fef9cc4593700af39aaa3f5.tar.gz
guru-2f46303319730b496fef9cc4593700af39aaa3f5.tar.bz2
guru-2f46303319730b496fef9cc4593700af39aaa3f5.zip
net-misc/peertube-viewer-rs: force disable LTO
Closes: https://bugs.gentoo.org/860321 Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Diffstat (limited to 'net-misc/peertube-viewer-rs')
-rw-r--r--net-misc/peertube-viewer-rs/peertube-viewer-rs-1.8.4-r1.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/net-misc/peertube-viewer-rs/peertube-viewer-rs-1.8.4-r1.ebuild b/net-misc/peertube-viewer-rs/peertube-viewer-rs-1.8.4-r1.ebuild
index cc84f0d61..f21d4e9f5 100644
--- a/net-misc/peertube-viewer-rs/peertube-viewer-rs-1.8.4-r1.ebuild
+++ b/net-misc/peertube-viewer-rs/peertube-viewer-rs-1.8.4-r1.ebuild
@@ -114,8 +114,7 @@ CRATES="
windows_x86_64_gnu-0.30.0
windows_x86_64_msvc-0.30.0
"
-
-inherit cargo
+inherit cargo flag-o-matic
DESCRIPTION="Command-line PeerTube viewer inspired by youtube-viewer"
HOMEPAGE="https://gitlab.com/peertube-viewer/peertube-viewer-rs"
@@ -129,6 +128,11 @@ QA_FLAGS_IGNORED=(
"usr/bin/peertube-viewer-rs"
)
+src_prepare() {
+ default
+ filter-lto
+}
+
src_install() {
cargo_src_install
install -Dm644 -t "${D}/usr/share/man/man1" "${S}/${PN}.1"