mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
sys-cluster/kubeadm: drop broken USE=hardened
Unnecessary, see 68d4571e78.
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user