diff options
Diffstat (limited to 'dev-libs/mimalloc/mimalloc-2.1.2.ebuild')
-rw-r--r-- | dev-libs/mimalloc/mimalloc-2.1.2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/mimalloc/mimalloc-2.1.2.ebuild b/dev-libs/mimalloc/mimalloc-2.1.2.ebuild index a81b2c3128af..362471406fc9 100644 --- a/dev-libs/mimalloc/mimalloc-2.1.2.ebuild +++ b/dev-libs/mimalloc/mimalloc-2.1.2.ebuild @@ -12,9 +12,11 @@ SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz - LICENSE="MIT" SLOT="0/2" KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" -IUSE="hardened test" +IUSE="hardened test valgrind" RESTRICT="!test? ( test )" +DEPEND="valgrind? ( dev-util/valgrind )" + src_configure() { local mycmakeargs=( -DMI_SECURE=$(usex hardened) @@ -23,6 +25,7 @@ src_configure() { -DMI_BUILD_OBJECT=OFF -DMI_BUILD_STATIC=OFF + -DMI_TRACK_VALGRIND=$(usex valgrind) ) cmake-multilib_src_configure |