commit:     a08003626fd19db36a38a9a09d724b10c52cb309
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 12 06:34:52 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 12 06:34:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0800362

dev-util/cargo-ebuild: drop redundant filter-lto

After dc51935f7aae5f89d1ffecabef322680979952b8, cargo.eclass filters for us.

I don't plan on doing all of these, just ones where I've either touched the pkg
before or I can clearly see it was 'just the normal case'.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/cargo-ebuild/cargo-ebuild-0.5.2.ebuild | 3 +--
 dev-util/cargo-ebuild/cargo-ebuild-0.5.4.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-util/cargo-ebuild/cargo-ebuild-0.5.2.ebuild 
b/dev-util/cargo-ebuild/cargo-ebuild-0.5.2.ebuild
index c4e06eccd4aa..e1f74b0e0374 100644
--- a/dev-util/cargo-ebuild/cargo-ebuild-0.5.2.ebuild
+++ b/dev-util/cargo-ebuild/cargo-ebuild-0.5.2.ebuild
@@ -142,7 +142,7 @@ CRATES="
        winapi-x86_64-pc-windows-gnu-0.4.0
 "
 
-inherit cargo flag-o-matic
+inherit cargo
 
 DESCRIPTION="Generates an ebuild for a package using the in-tree eclasses."
 # Double check the homepage as the cargo_metadata crate
@@ -170,7 +170,6 @@ RDEPEND="
 QA_FLAGS_IGNORED="usr/bin/cargo-ebuild"
 
 src_configure() {
-       filter-lto # https://bugs.gentoo.org/858332
        export LIBGIT2_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 
PKG_CONFIG_ALLOW_CROSS=1
        cargo_src_configure
 }

diff --git a/dev-util/cargo-ebuild/cargo-ebuild-0.5.4.ebuild 
b/dev-util/cargo-ebuild/cargo-ebuild-0.5.4.ebuild
index 2722dc5c7706..027d6db70a10 100644
--- a/dev-util/cargo-ebuild/cargo-ebuild-0.5.4.ebuild
+++ b/dev-util/cargo-ebuild/cargo-ebuild-0.5.4.ebuild
@@ -134,7 +134,7 @@ CRATES="
        winapi-x86_64-pc-windows-gnu-0.4.0
 "
 
-inherit cargo flag-o-matic
+inherit cargo
 
 DESCRIPTION="Generates an ebuild for a package using the in-tree eclasses."
 # Double check the homepage as the cargo_metadata crate
@@ -162,7 +162,6 @@ RDEPEND="
 QA_FLAGS_IGNORED="usr/bin/cargo-ebuild"
 
 src_configure() {
-       filter-lto # https://bugs.gentoo.org/858332
        export LIBGIT2_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 
PKG_CONFIG_ALLOW_CROSS=1
        cargo_src_configure
 }

Reply via email to