From c7cd3be059f221c6333980f155c1bafca9769ed0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 17 Jun 2023 17:51:23 +0100 Subject: toolchain.eclass: fix USE=doc build Thanks to Dirk Sondermann for pointing out the precise issue. Closes: https://bugs.gentoo.org/908550 Fixes: a606b978be638005c9b832a733d087dbc97ae6d0 Signed-off-by: Sam James --- eclass/toolchain.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 3013e5c9aeca..51b28b380584 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1687,8 +1687,8 @@ gcc_do_make() { if ! is_crosscompile && _tc_use_if_iuse cxx && _tc_use_if_iuse doc ; then if type -p doxygen > /dev/null ; then - cd "${CTARGET}"/libstdc++-v3/doc - emake -C "${CTARGET}"/libstdc++-v3/doc doc-man-doxygen + cd "${CTARGET}"/libstdc++-v3/doc || die + emake doc-man-doxygen # Clean bogus manpages. bug #113902 find -name '*_build_*' -delete -- cgit v1.2.3-65-gdbad