commit:     0c5110d4d95acc545dd4a3d76a24b49eb5853eb3
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 00:02:09 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 00:02:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5110d4

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

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

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

diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.28.5.ebuild 
b/sys-cluster/kube-scheduler/kube-scheduler-1.28.5.ebuild
index 6354fc1ec8c0..2a519df97c29 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.28.5.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.28.5.ebuild
@@ -24,7 +24,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