aboutsummaryrefslogtreecommitdiff
path: root/apks/prometheus-postgres-exporter/disable-go-race-detector.patch
blob: 9ba76a3100014cc7f0b839201caa7f54e8951382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/Makefile.common
+++ b/Makefile.common
@@ -111,13 +111,6 @@
 PUBLISH_DOCKER_ARCHS = $(addprefix common-docker-publish-,$(DOCKER_ARCHS))
 TAG_DOCKER_ARCHS = $(addprefix common-docker-tag-latest-,$(DOCKER_ARCHS))
 
-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.