summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:37:34 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:37:34 -0600
commitd8df81b30deb28923d4e68f1f71981c3b719f23b (patch)
tree73e99675edaddc2022292fd30e72805b2055b7c7 /sys-cluster/kube-controller-manager
parentsys-cluster/kube-apiserver: build 1.27 series with host version of go (diff)
downloadgentoo-d8df81b30deb28923d4e68f1f71981c3b719f23b.tar.gz
gentoo-d8df81b30deb28923d4e68f1f71981c3b719f23b.tar.bz2
gentoo-d8df81b30deb28923d4e68f1f71981c3b719f23b.zip
sys-cluster/kube-controller-manager: build 1.27 series with host go version
Bug: https://bugs.gentoo.org/923839 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster/kube-controller-manager')
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.27.10.ebuild2
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.27.11.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.10.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.10.ebuild
index 52aa4004a343..f2fe34fdad36 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.10.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.10.ebuild
@@ -23,7 +23,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=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
}
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.11.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.11.ebuild
index 202fbcc3d246..4b792167caaf 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.11.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.27.11.ebuild
@@ -23,7 +23,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=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
}