sys-cluster/kube-scheduler: drop broken USE=hardened

Unnecessary, see 68d4571e78.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-02-28 17:01:02 +00:00
parent 0965465144
commit d44def5f0d
10 changed files with 16 additions and 36 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.23.3"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.23.3"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.23.3"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -26,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
}
@@ -15,7 +15,6 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
DEPEND="acct-group/kube-scheduler
@@ -28,8 +27,7 @@ QA_PRESTRIPPED=usr/bin/kube-scheduler
src_compile() {
local GOOS=$(go-env_goos)
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
KUBE_BUILD_PLATFORMS="${GOOS}/${GOARCH}" KUBE_${GOOS@U}_${GOARCH@U}_CC="${CC}" \
WHAT=cmd/${PN}