mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-metrics/node_exporter: workaround bug #917577 for x86 builds
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> Bug: https://bugs.gentoo.org/917577
This commit is contained in:
@@ -51,6 +51,10 @@ src_unpack() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use x86; then
|
||||
#917577 pie breaks build on x86
|
||||
GOFLAGS=${GOFLAGS//-buildmode=pie}
|
||||
fi
|
||||
promu build -v || die
|
||||
./"${PN}" --help-man > "${PN}".1 || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user