summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:38:54 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:38:54 -0600
commitb230422108d5a0c4a2dcfa7fcd53d9d8d9db331a (patch)
treeace9db2f07b8e3b053e6f9e93e6ee448511a11db /sys-cluster/kube-proxy
parentsys-cluster/kubelet: build 1.27 series with host version of go (diff)
downloadgentoo-b230422108d5a0c4a2dcfa7fcd53d9d8d9db331a.tar.gz
gentoo-b230422108d5a0c4a2dcfa7fcd53d9d8d9db331a.tar.bz2
gentoo-b230422108d5a0c4a2dcfa7fcd53d9d8d9db331a.zip
sys-cluster/kube-proxy: build 1.27 series with host version of go
Bug: https://bugs.gentoo.org/923839 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-proxy')
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.27.10.ebuild2
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.27.11.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.27.10.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.27.10.ebuild
index 894b6a1e7846..7f6dd9559972 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.27.10.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.27.10.ebuild
@@ -20,7 +20,7 @@ RESTRICT+=" test"
S="${WORKDIR}/kubernetes-${PV}"
src_compile() {
- CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
}
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.27.11.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.27.11.ebuild
index 8d431668268c..19efcef72cdb 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.27.11.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.27.11.ebuild
@@ -20,7 +20,7 @@ RESTRICT+=" test"
S="${WORKDIR}/kubernetes-${PV}"
src_compile() {
- CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
}