diff options
author | Sam James <sam@gentoo.org> | 2024-12-17 17:52:26 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-12-17 17:53:23 +0000 |
commit | be39248e48dbe1e168ac79144178b7250e99c6ec (patch) | |
tree | ad876738918f77e3610eef494dcc3f75508ffce6 /dev-libs | |
parent | dev-libs/date: use preferred compiler for tests (diff) | |
download | gentoo-be39248e48dbe1e168ac79144178b7250e99c6ec.tar.gz gentoo-be39248e48dbe1e168ac79144178b7250e99c6ec.tar.bz2 gentoo-be39248e48dbe1e168ac79144178b7250e99c6ec.zip |
dev-libs/date: fix src_test
* Drop dead (unset) SRC_DIR reference
* Set CXX, given this is a C++ library, and it was calling clang++
without this
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/date/date-3.0.3.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-libs/date/date-3.0.3.ebuild b/dev-libs/date/date-3.0.3.ebuild index 9c8a941541d6..70364c33a9f8 100644 --- a/dev-libs/date/date-3.0.3.ebuild +++ b/dev-libs/date/date-3.0.3.ebuild @@ -28,6 +28,6 @@ src_configure() { } src_test() { - cd "${SRC_DIR}"test/ || die - CC="$(tc-getCC)" ./testit || die + cd test/ || die + CC="$(tc-getCC)" CXX="$(tc-getCXX)" ./testit || die } |