commit: 80871bb5d239645e743c5ae2735a3106873073a6 Author: Filip Kobierski <fkobi <AT> pm <DOT> me> AuthorDate: Tue Dec 17 14:06:16 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Dec 17 17:53:22 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80871bb5
dev-libs/date: use preferred compiler for tests Signed-off-by: Filip Kobierski <fkobi <AT> pm.me> Closes: https://github.com/gentoo/gentoo/pull/39755 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/date/date-3.0.3.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-libs/date/date-3.0.3.ebuild b/dev-libs/date/date-3.0.3.ebuild index eb8b1ec1535e..9c8a941541d6 100644 --- a/dev-libs/date/date-3.0.3.ebuild +++ b/dev-libs/date/date-3.0.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake +inherit cmake toolchain-funcs DESCRIPTION="A date and time library based on the C++11/14/17 <chrono> header" HOMEPAGE="https://github.com/HowardHinnant/date" @@ -15,8 +15,6 @@ KEYWORDS="~amd64 ~arm64" IUSE="only-c-locale test" RESTRICT="!test? ( test )" -BDEPEND="test? ( llvm-core/clang )" # tests call clang++ - PATCHES=( "${FILESDIR}"/${PN}-3.0.3_remove-failing-tests.patch ) src_configure() { @@ -31,5 +29,5 @@ src_configure() { src_test() { cd "${SRC_DIR}"test/ || die - ./testit || die + CC="$(tc-getCC)" ./testit || die }
