summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:38:12 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:38:12 -0600
commit23d73eb736eb35ba45b53684897edbbd2161ddd7 (patch)
treea681fa2dfd39373b654817831c2bf2c46643c97a /sys-cluster/kubectl
parentsys-cluster/kube-controller-manager: build 1.27 series with host go version (diff)
downloadgentoo-23d73eb736eb35ba45b53684897edbbd2161ddd7.tar.gz
gentoo-23d73eb736eb35ba45b53684897edbbd2161ddd7.tar.bz2
gentoo-23d73eb736eb35ba45b53684897edbbd2161ddd7.zip
sys-cluster/kubectl: 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/kubectl')
-rw-r--r--sys-cluster/kubectl/kubectl-1.27.10.ebuild2
-rw-r--r--sys-cluster/kubectl/kubectl-1.27.11.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/kubectl/kubectl-1.27.10.ebuild b/sys-cluster/kubectl/kubectl-1.27.10.ebuild
index 793fdd79df54..f0497269a979 100644
--- a/sys-cluster/kubectl/kubectl-1.27.10.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.27.10.ebuild
@@ -19,7 +19,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/kubectl/kubectl-1.27.11.ebuild b/sys-cluster/kubectl/kubectl-1.27.11.ebuild
index c233d82f942a..0bcfb3fa321d 100644
--- a/sys-cluster/kubectl/kubectl-1.27.11.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.27.11.ebuild
@@ -19,7 +19,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}
}