diff options
Diffstat (limited to 'dev-util/maturin/maturin-0.13.2_beta1.ebuild')
-rw-r--r-- | dev-util/maturin/maturin-0.13.2_beta1.ebuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-util/maturin/maturin-0.13.2_beta1.ebuild b/dev-util/maturin/maturin-0.13.2_beta1.ebuild index 923cbd019f20..4432c450ae14 100644 --- a/dev-util/maturin/maturin-0.13.2_beta1.ebuild +++ b/dev-util/maturin/maturin-0.13.2_beta1.ebuild @@ -387,17 +387,17 @@ 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-lto # undefined references with ring crate - # setup.py handles most for non-tests, but ensure disabled rustls on arches # where ring crate is problematic -- keep in sync below (bug #859577) - if use mips || use ppc || use ppc64 || use s390 || use sparc; then + if use mips || use ppc || use ppc64 || use riscv || use s390 || use sparc; then sed -i '/^if platform.machine/s/^if/if True or/' setup.py || die fi } src_configure() { - if use mips || use ppc || use ppc64 || use s390 || use sparc; then + filter-lto # undefined references with ring crate + + if use mips || use ppc || use ppc64 || use riscv || use s390 || use sparc; then local myfeatures=( upload log human-panic ) cargo_src_configure --no-default-features fi |