diff --git a/dev-libs/mimalloc/mimalloc-2.2.7.ebuild b/dev-libs/mimalloc/mimalloc-2.2.7-r1.ebuild similarity index 83% rename from dev-libs/mimalloc/mimalloc-2.2.7.ebuild rename to dev-libs/mimalloc/mimalloc-2.2.7-r1.ebuild index f65a67f7a85b2..6a78d23ccbd0e 100644 --- a/dev-libs/mimalloc/mimalloc-2.2.7.ebuild +++ b/dev-libs/mimalloc/mimalloc-2.2.7-r1.ebuild @@ -18,14 +18,16 @@ RESTRICT="!test? ( test )" DEPEND="valgrind? ( dev-debug/valgrind )" src_configure() { + # hardened + valgrind could be restored w/ multibuild.eclass. They + # install renamed libraries which break reverse dependencies. local mycmakeargs=( -DMI_DEBUG_FULL=$(usex debug) - -DMI_SECURE=$(usex hardened) + -DMI_SECURE=OFF -DMI_INSTALL_TOPLEVEL=ON -DMI_BUILD_TESTS=$(usex test) -DMI_BUILD_OBJECT=OFF -DMI_BUILD_STATIC=OFF - -DMI_TRACK_VALGRIND=$(usex valgrind) + -DMI_TRACK_VALGRIND=OFF -DMI_LIBC_MUSL=$(usex elibc_musl) # Don't inject -march=XXX -DMI_OPT_ARCH=OFF diff --git a/dev-libs/mimalloc/mimalloc-3.2.8.ebuild b/dev-libs/mimalloc/mimalloc-3.2.8-r1.ebuild similarity index 83% rename from dev-libs/mimalloc/mimalloc-3.2.8.ebuild rename to dev-libs/mimalloc/mimalloc-3.2.8-r1.ebuild index 0304b24edf941..0687afb8bc297 100644 --- a/dev-libs/mimalloc/mimalloc-3.2.8.ebuild +++ b/dev-libs/mimalloc/mimalloc-3.2.8-r1.ebuild @@ -18,14 +18,16 @@ RESTRICT="!test? ( test )" DEPEND="valgrind? ( dev-debug/valgrind )" src_configure() { + # hardened + valgrind could be restored w/ multibuild.eclass. They + # install renamed libraries which break reverse dependencies. local mycmakeargs=( -DMI_DEBUG_FULL=$(usex debug) - -DMI_SECURE=$(usex hardened) + -DMI_SECURE=OFF -DMI_INSTALL_TOPLEVEL=ON -DMI_BUILD_TESTS=$(usex test) -DMI_BUILD_OBJECT=OFF -DMI_BUILD_STATIC=OFF - -DMI_TRACK_VALGRIND=$(usex valgrind) + -DMI_TRACK_VALGRIND=OFF -DMI_LIBC_MUSL=$(usex elibc_musl) # Don't inject -march=XXX -DMI_OPT_ARCH=OFF