dev-libs/mimalloc: drop USE=hardened, USE=valgrind for now

Having either enabled means that the library gets renamed which breaks
reverse dependencies. They can be restored at a later time w/ multibuild.eclass.

Closes: https://bugs.gentoo.org/970985
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-03-30 21:55:48 +01:00
parent 09b806840e
commit cbe818c40b
2 changed files with 8 additions and 4 deletions

View File

@@ -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

View File

@@ -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