commit: 5dcd918b96cdb59f183ba8ae23821c69ad7833f0 Author: Matthew Smith <matthew <AT> gentoo <DOT> org> AuthorDate: Mon Jan 29 09:31:23 2024 +0000 Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> CommitDate: Mon Jan 29 09:33:48 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dcd918b
dev-libs/mimalloc: append -latomic if required Closes: https://bugs.gentoo.org/923177 Suggested-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk> Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> dev-libs/mimalloc/mimalloc-2.1.2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-libs/mimalloc/mimalloc-2.1.2.ebuild b/dev-libs/mimalloc/mimalloc-2.1.2.ebuild index dcc758662a5f..82790836bf71 100644 --- a/dev-libs/mimalloc/mimalloc-2.1.2.ebuild +++ b/dev-libs/mimalloc/mimalloc-2.1.2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib +inherit cmake-multilib flag-o-matic DESCRIPTION="A compact general purpose allocator with excellent performance" HOMEPAGE="https://github.com/microsoft/mimalloc" @@ -18,6 +18,9 @@ RESTRICT="!test? ( test )" DEPEND="valgrind? ( dev-debug/valgrind )" src_configure() { + # Bug #923177 + append-atomic-flags + local mycmakeargs=( -DMI_SECURE=$(usex hardened) -DMI_INSTALL_TOPLEVEL=ON
