From 5136eb5266b2ff022a44a3316a07d02b4dcc9e08 Mon Sep 17 00:00:00 2001
From: Tiago Ilieve <tiago.myhro@gmail.com>
Date: Sun, 12 May 2019 11:21:01 +0200
Subject: [PATCH] Disable Go race detector

Go race detector is not supported on musl[1].

[1]: https://github.com/golang/go/issues/14481
---
 Makefile.common | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/Makefile.common b/Makefile.common
index 4f18ea5..18085e4 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -94,13 +94,6 @@ BUILD_DOCKER_ARCHS = $(addprefix common-docker-,$(DOCKER_ARCHS))
 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.
-- 
2.17.1

