commit:     7c7788878779ff0041a59782686b4f2452b86c40
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  2 23:49:15 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Jan  2 23:49:15 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c778887

sys-cluster/kube-proxy: build with host version of go

Closes: https://bugs.gentoo.org/921217
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kube-proxy/kube-proxy-1.28.5.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/kube-proxy/kube-proxy-1.28.5.ebuild 
b/sys-cluster/kube-proxy/kube-proxy-1.28.5.ebuild
index 8d431668268c..a88d05e60e65 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.28.5.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.28.5.ebuild
@@ -21,7 +21,8 @@ S="${WORKDIR}/kubernetes-${PV}"
 
 src_compile() {
        CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-               emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+               emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
+               WHAT=cmd/${PN}
 }
 
 src_install() {

Reply via email to