aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZach Leslie <xaque208@gmail.com>2018-04-06 09:50:26 -0700
committerTobias Schmidt <tobidt@gmail.com>2018-04-06 18:50:26 +0200
commit6b1301fb24f65da5fa03de5005ec354e0168f01e (patch)
tree42451b0b1f9e89d64b3543eba49463039c7c4d46 /Makefile
parentf3ff44fcca5bb20a181cd7b99734afeae553c78e (diff)
downloadprometheus_node_collector-6b1301fb24f65da5fa03de5005ec354e0168f01e.tar.bz2
prometheus_node_collector-6b1301fb24f65da5fa03de5005ec354e0168f01e.tar.xz
prometheus_node_collector-6b1301fb24f65da5fa03de5005ec354e0168f01e.zip
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 <xaque208@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e66a8a2..04ebfe4 100644
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ else
37endif 37endif
38 38
39ifeq ($(GOHOSTARCH),amd64) 39ifeq ($(GOHOSTARCH),amd64)
40 ifneq ($(OS_detected),SunOS) 40 ifeq ($(OS_detected),$(filter $(OS_detected),Linux FreeBSD Darwin Windows))
41 # Only supported on amd64 41 # Only supported on amd64
42 test-flags := -race 42 test-flags := -race
43 endif 43 endif