summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:39:13 -0600
committerWilliam Hubbs <williamh@gentoo.org>2024-02-26 12:39:13 -0600
commite3f4f90ff9a56fd833351d369a7f53d55a1cbc3e (patch)
treee4ff1832d9044026ee24ddc1a3a9f0a4f101d4b6 /sys-cluster/kube-scheduler
parentsys-cluster/kube-proxy: build 1.27 series with host version of go (diff)
downloadgentoo-e3f4f90ff9a56fd833351d369a7f53d55a1cbc3e.tar.gz
gentoo-e3f4f90ff9a56fd833351d369a7f53d55a1cbc3e.tar.bz2
gentoo-e3f4f90ff9a56fd833351d369a7f53d55a1cbc3e.zip
sys-cluster/kube-scheduler: 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-scheduler')
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.27.10.ebuild2
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.27.11.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.27.10.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.27.10.ebuild
index 44eefc9e1989..57c3be548dec 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.27.10.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-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="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
}
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.27.11.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.27.11.ebuild
index 6354fc1ec8c0..5749b3f5740d 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.27.11.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-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="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
}