From 6b1301fb24f65da5fa03de5005ec354e0168f01e Mon Sep 17 00:00:00 2001 From: Zach Leslie Date: Fri, 6 Apr 2018 09:50:26 -0700 Subject: [PATCH] Remove -race test flag to build on OpenBSD (#883) Without this change, running 'gmake' as the documentation does not finish the build process to produce the binary. Signed-off-by: Zach Leslie --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e66a8a21..04ebfe46 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ else endif ifeq ($(GOHOSTARCH),amd64) - ifneq ($(OS_detected),SunOS) + ifeq ($(OS_detected),$(filter $(OS_detected),Linux FreeBSD Darwin Windows)) # Only supported on amd64 test-flags := -race endif