commit: 00098905947bf63e40dcf83b55ffa226156994e5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Fri Dec 27 09:25:56 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Dec 27 11:42:46 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00098905
dev-libs/mimalloc: add USE=debug Inspired by bug #947005. Bug: https://bugs.gentoo.org/947005 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/mimalloc/mimalloc-2.1.7.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/mimalloc/mimalloc-2.1.7.ebuild b/dev-libs/mimalloc/mimalloc-2.1.7.ebuild index d72d8e0d7a12..1d649bf86b04 100644 --- a/dev-libs/mimalloc/mimalloc-2.1.7.ebuild +++ b/dev-libs/mimalloc/mimalloc-2.1.7.ebuild @@ -12,13 +12,14 @@ SRC_URI="https://github.com/microsoft/mimalloc/archive/refs/tags/v${PV}.tar.gz - LICENSE="MIT" SLOT="0/2" KEYWORDS="amd64 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="hardened test valgrind" +IUSE="debug hardened test valgrind" RESTRICT="!test? ( test )" DEPEND="valgrind? ( dev-debug/valgrind )" src_configure() { local mycmakeargs=( + -DMI_DEBUG_FULL=$(usex debug) -DMI_SECURE=$(usex hardened) -DMI_INSTALL_TOPLEVEL=ON -DMI_BUILD_TESTS=$(usex test)
