summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:36:01 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:36:01 -0600
commitef1a004e192c8e01dcfceb17a440728030d1710e (patch)
treec8d63ff5d7af67d66f39a5ca5e37911186d00c61 /sys-cluster/kubeadm
parentapp-office/libreoffice: add 24.2.1.2, drop 24.2.1.1 (diff)
downloadgentoo-ef1a004e192c8e01dcfceb17a440728030d1710e.tar.gz
gentoo-ef1a004e192c8e01dcfceb17a440728030d1710e.tar.bz2
gentoo-ef1a004e192c8e01dcfceb17a440728030d1710e.zip
sys-cluster/kubeadm: 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/kubeadm')
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.27.10.ebuild2
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.27.11.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/kubeadm/kubeadm-1.27.10.ebuild b/sys-cluster/kubeadm/kubeadm-1.27.10.ebuild
index 96ab4c08b5f1..b9fa1efd4738 100644
--- a/sys-cluster/kubeadm/kubeadm-1.27.10.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.27.10.ebuild
@@ -21,7 +21,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/kubeadm/kubeadm-1.27.11.ebuild b/sys-cluster/kubeadm/kubeadm-1.27.11.ebuild
index 3f2bfbcf5e57..b5dc256f5336 100644
--- a/sys-cluster/kubeadm/kubeadm-1.27.11.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.27.11.ebuild
@@ -21,7 +21,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}
}