sys-cluster/flux: add missing die

Signed-off-by: Kenton Groombridge <concord@gentoo.org>
This commit is contained in:
Kenton Groombridge
2023-04-07 00:39:35 -04:00
parent 8bc0e52d30
commit ccfbcb2084

View File

@@ -21,7 +21,7 @@ RESTRICT+=" test"
S="${WORKDIR}/flux2-${PV}"
src_compile() {
mv "${WORKDIR}"/manifests cmd/"${PN}"
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}
}