summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-metrics/chrony_exporter')
-rw-r--r--app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild b/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild
index b24bc02e2e57..d264fa860fc5 100644
--- a/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild
+++ b/app-metrics/chrony_exporter/chrony_exporter-0.10.1.ebuild
@@ -20,6 +20,12 @@ DEPEND="acct-group/chrony_exporter
BDEPEND="dev-util/promu"
+src_prepare() {
+ default
+ # No need to enable the race detector for tests (#935442)
+ sed -i -e '/test-flags := -race/d' Makefile.common || die
+}
+
src_compile() {
promu build -v --cgo --prefix bin || die
}