summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-11-26 13:47:01 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2023-11-26 13:47:36 -0800
commit9bd2a2d610a131178d15bc55f1c5ef2c7bd63f5f (patch)
tree61a0f7ab24b97664a6ba9a2e1c5ea48a816b0866 /app-metrics
parentdev-python/cython: add 3.0.6 (diff)
downloadgentoo-9bd2a2d610a131178d15bc55f1c5ef2c7bd63f5f.tar.gz
gentoo-9bd2a2d610a131178d15bc55f1c5ef2c7bd63f5f.tar.bz2
gentoo-9bd2a2d610a131178d15bc55f1c5ef2c7bd63f5f.zip
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
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/node_exporter/node_exporter-1.7.0.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-metrics/node_exporter/node_exporter-1.7.0.ebuild b/app-metrics/node_exporter/node_exporter-1.7.0.ebuild
index e02032dc5f61..8e9236baea4d 100644
--- a/app-metrics/node_exporter/node_exporter-1.7.0.ebuild
+++ b/app-metrics/node_exporter/node_exporter-1.7.0.ebuild
@@ -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
}