diff --git a/sys-devel/mold/mold-2.42.0.ebuild b/sys-devel/mold/mold-2.42.0.ebuild index 8a8f85abf44c3..d2ffaed8c6715 100644 --- a/sys-devel/mold/mold-2.42.0.ebuild +++ b/sys-devel/mold/mold-2.42.0.ebuild @@ -35,6 +35,9 @@ RDEPEND=" mimalloc? ( >=dev-libs/mimalloc-3:= ) " DEPEND="${RDEPEND}" +BDEPEND=" + test? ( llvm-core/clang:* ) +" pkg_pretend() { # Requires a c++20 compiler, see #831473 diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild index 8a8f85abf44c3..d2ffaed8c6715 100644 --- a/sys-devel/mold/mold-9999.ebuild +++ b/sys-devel/mold/mold-9999.ebuild @@ -35,6 +35,9 @@ RDEPEND=" mimalloc? ( >=dev-libs/mimalloc-3:= ) " DEPEND="${RDEPEND}" +BDEPEND=" + test? ( llvm-core/clang:* ) +" pkg_pretend() { # Requires a c++20 compiler, see #831473