aports/testing/prometheus-ipmi-exporter/0001-disable-go-race-detector.patch
2024-10-02 19:45:34 +00:00

18 lines
713 B
Diff

diff --git a/Makefile.common b/Makefile.common
index e3da72a..bf12b38 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -93,13 +93,6 @@ TAG_DOCKER_ARCHS = $(addprefix common-docker-tag-latest-,$(DOCKER_ARCHS))
SANITIZED_DOCKER_IMAGE_TAG := $(subst +,-,$(DOCKER_IMAGE_TAG))
-ifeq ($(GOHOSTARCH),amd64)
- ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux freebsd darwin windows))
- # Only supported on amd64
- test-flags := -race
- endif
-endif
-
# This rule is used to forward a target like "build" to "common-build". This
# allows a new "build" target to be defined in a Makefile which includes this
# one and override "common-build" without override warnings.