commit:     864ae0f4ec499904c3c99ee773d40f251776d07b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 28 17:03:03 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 28 17:10:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864ae0f4

sys-cluster/flux: drop broken USE=hardened

Unnecessary, see 68d4571e78f348eac41d64ba306ec2a8226ad17c.

Closes: https://bugs.gentoo.org/945115
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/flux/flux-0.41.2.ebuild | 6 ++----
 sys-cluster/flux/flux-2.7.3.ebuild  | 6 ++----
 sys-cluster/flux/flux-2.7.5.ebuild  | 4 +---
 3 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/sys-cluster/flux/flux-0.41.2.ebuild 
b/sys-cluster/flux/flux-0.41.2.ebuild
index 8f006196fa03..c2b4ff5a6ee0 100644
--- a/sys-cluster/flux/flux-0.41.2.ebuild
+++ b/sys-cluster/flux/flux-0.41.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,7 +15,6 @@ S="${WORKDIR}/flux2-${PV}"
 LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="hardened"
 
 BDEPEND=">=dev-lang/go-1.19"
 
@@ -23,8 +22,7 @@ RESTRICT+=" test"
 
 src_compile() {
        mv "${WORKDIR}"/manifests cmd/"${PN}" || die
-       CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-               ego build -ldflags="-s -w -X main.VERSION=${PV}" -o ./bin/${PN} 
./cmd/${PN}
+       ego build -ldflags="-s -w -X main.VERSION=${PV}" -o ./bin/${PN} 
./cmd/${PN}
 }
 
 src_install() {

diff --git a/sys-cluster/flux/flux-2.7.3.ebuild 
b/sys-cluster/flux/flux-2.7.3.ebuild
index e979b923424d..224e7d543208 100644
--- a/sys-cluster/flux/flux-2.7.3.ebuild
+++ b/sys-cluster/flux/flux-2.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2025 Gentoo Authors
+# Copyright 2023-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,6 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="hardened"
 
 BDEPEND=">=dev-lang/go-1.19"
 
@@ -30,8 +29,7 @@ src_unpack() {
 }
 
 src_compile() {
-       CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-               ego build -ldflags="-s -w -X main.VERSION=${PV}" -o ./bin/${PN} 
./cmd/${PN}
+       ego build -ldflags="-s -w -X main.VERSION=${PV}" -o ./bin/${PN} 
./cmd/${PN}
 }
 
 src_install() {

diff --git a/sys-cluster/flux/flux-2.7.5.ebuild 
b/sys-cluster/flux/flux-2.7.5.ebuild
index e841e5b6c8fb..57db4123e9aa 100644
--- a/sys-cluster/flux/flux-2.7.5.ebuild
+++ b/sys-cluster/flux/flux-2.7.5.ebuild
@@ -17,7 +17,6 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="hardened"
 
 BDEPEND=">=dev-lang/go-1.19"
 
@@ -32,8 +31,7 @@ src_unpack() {
 }
 
 src_compile() {
-       CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
-               ego build -ldflags="-s -w -X main.VERSION=${PV}" -o ./bin/${PN} 
./cmd/${PN}
+       ego build -ldflags="-s -w -X main.VERSION=${PV}" -o ./bin/${PN} 
./cmd/${PN}
 }
 
 src_install() {

Reply via email to