diff options
Diffstat (limited to 'dev-util/ruff')
-rw-r--r-- | dev-util/ruff/ruff-0.4.4.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-util/ruff/ruff-0.4.4.ebuild b/dev-util/ruff/ruff-0.4.4.ebuild index 437bdd839436..da6cf3e1d708 100644 --- a/dev-util/ruff/ruff-0.4.4.ebuild +++ b/dev-util/ruff/ruff-0.4.4.ebuild @@ -427,6 +427,11 @@ src_compile() { } src_test() { + # Gentoo bug #927338 + if use !elibc_musl && use !elibc_Darwin && use !elibc_bionic; then + local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1 + local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so + fi cargo_src_test } |