sys-cluster/kubeadm: 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:10:14 +00:00
parent 8b33f2f432
commit b5cb5999e3
10 changed files with 26 additions and 36 deletions
+3 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.23.3"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+2 -3
View File
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.23.3"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+3 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.23.3"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+3 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+3 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+2 -3
View File
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.0"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+3 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.6"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+3 -4
View File
@@ -1,4 +1,4 @@
# Copyright 2021-2025 Gentoo Authors
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.6"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+2 -3
View File
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -25,8 +25,7 @@ BDEPEND=">=dev-lang/go-1.24.6"
QA_PRESTRIPPED=usr/bin/kubeadm
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" FORCE_HOST_GO=yes \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
+2 -3
View File
@@ -15,7 +15,7 @@ LICENSE="Apache-2.0"
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened selinux"
IUSE="selinux"
RESTRICT="test"
RDEPEND="app-containers/cri-tools
@@ -27,8 +27,7 @@ QA_PRESTRIPPED=usr/bin/kubeadm
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}