summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-06-28 03:41:10 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-06-28 03:42:06 -0400
commitb37de91a2351afb7cf1317bfb9f20f858aa9c8ca (patch)
treea8b8d1259e0c3efe03a994cf8c3383b323e9e05a /dev-util/maturin
parentapp-emulation/ruffle: update to use the new filter-lto (diff)
downloadgentoo-b37de91a2351afb7cf1317bfb9f20f858aa9c8ca.tar.gz
gentoo-b37de91a2351afb7cf1317bfb9f20f858aa9c8ca.tar.bz2
gentoo-b37de91a2351afb7cf1317bfb9f20f858aa9c8ca.zip
dev-util/maturin: update to use the new filter-lto
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'dev-util/maturin')
-rw-r--r--dev-util/maturin/maturin-0.12.17.ebuild2
-rw-r--r--dev-util/maturin/maturin-0.12.20.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-util/maturin/maturin-0.12.17.ebuild b/dev-util/maturin/maturin-0.12.17.ebuild
index 91ddb59e21db..d626ae92cf87 100644
--- a/dev-util/maturin/maturin-0.12.17.ebuild
+++ b/dev-util/maturin/maturin-0.12.17.ebuild
@@ -374,7 +374,7 @@ src_prepare() {
# TODO: package-agnostic way to handle IUSE=debug with setuptools-rust?
use !debug || sed -i "s/^cargo_args = \[/&'--profile','dev',/" setup.py || die
- filter-flags '-flto*' # undefined references with ring crate
+ filter-lto # undefined references with ring crate
}
python_compile_all() {
diff --git a/dev-util/maturin/maturin-0.12.20.ebuild b/dev-util/maturin/maturin-0.12.20.ebuild
index 5017f4296cd7..10e610cabdc5 100644
--- a/dev-util/maturin/maturin-0.12.20.ebuild
+++ b/dev-util/maturin/maturin-0.12.20.ebuild
@@ -384,7 +384,7 @@ src_prepare() {
# TODO: package-agnostic way to handle IUSE=debug with setuptools-rust?
use !debug || sed -i "s/^cargo_args = \[/&'--profile','dev',/" setup.py || die
- filter-flags '-flto*' # undefined references with ring crate
+ filter-lto # undefined references with ring crate
}
python_compile_all() {