Signed-off-by: James Le Cuirot <[email protected]>
---
 app-containers/containerd/containerd-2.2.1.ebuild | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/app-containers/containerd/containerd-2.2.1.ebuild 
b/app-containers/containerd/containerd-2.2.1.ebuild
index d89df32ae78c..f54c461b0360 100644
--- a/app-containers/containerd/containerd-2.2.1.ebuild
+++ b/app-containers/containerd/containerd-2.2.1.ebuild
@@ -63,16 +63,10 @@ src_compile() {
                VERSION=v${PV}
        )
 
-       # The Go env is already set, but reset it for CBUILD in a subshell to 
allow
-       # building the man pages when cross-compiling.
-       (
-               CHOST="${CBUILD}" go-env_set_compile_environment
-               # race condition in man target https://bugs.gentoo.org/765100
-               tc-env_build emake "${myemakeargs[@]}" man -j1 #nowarn
-       )
-
        emake "${myemakeargs[@]}" all
 
+       # race condition in man target https://bugs.gentoo.org/765100
+       tc-env_build go-env_run emake "${myemakeargs[@]}" man -j1 #nowarn
 }
 
 src_install() {
-- 
2.53.0


Reply via email to