mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
34 lines
755 B
Diff
34 lines
755 B
Diff
From 3c66e043f16c833214a10b3aaf36a16c7c1af834 Mon Sep 17 00:00:00 2001
|
|
From: Tiago Ilieve <tiago.myhro@gmail.com>
|
|
Date: Fri, 25 Jan 2019 14:50:25 +0100
|
|
Subject: [PATCH] Disable Go race detector
|
|
|
|
Go race detector is not supported on musl[1].
|
|
|
|
[1]: https://github.com/golang/go/issues/14481
|
|
---
|
|
Makefile | 7 -------
|
|
1 file changed, 7 deletions(-)
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index d6d138c..b61484b 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -33,13 +33,6 @@ else
|
|
OS_detected := $(shell uname -s)
|
|
endif
|
|
|
|
-ifeq ($(GOHOSTARCH),amd64)
|
|
- ifeq ($(OS_detected),$(filter $(OS_detected),Linux FreeBSD Darwin Windows))
|
|
- # Only supported on amd64
|
|
- test-flags := -race
|
|
- endif
|
|
-endif
|
|
-
|
|
ifeq ($(OS_detected), Linux)
|
|
test-e2e := test-e2e
|
|
else
|
|
--
|
|
2.18.1
|
|
|