aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Kochie <superq@gmail.com>2018-10-20 08:21:51 +0200
committerGitHub <noreply@github.com>2018-10-20 08:21:51 +0200
commit751996761903af4cffe18cf2d980b8ae9a202204 (patch)
tree4dd350cdc33c20da577f032fa0828725363c9d8c /Makefile
parent0da9d248e785dfc5a1bef00277f0f30d36a4de28 (diff)
downloadprometheus_node_collector-751996761903af4cffe18cf2d980b8ae9a202204.tar.bz2
prometheus_node_collector-751996761903af4cffe18cf2d980b8ae9a202204.tar.xz
prometheus_node_collector-751996761903af4cffe18cf2d980b8ae9a202204.zip
Fix promu config (#1119)v0.17.0-rc.0
Rename promu no-cgo config to default promu name to avoid crossbuild problems. Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 835a407..dae2c8e 100644
--- a/Makefile
+++ b/Makefile
@@ -46,11 +46,11 @@ endif
46 46
47# Use CGO for non-Linux builds. 47# Use CGO for non-Linux builds.
48ifeq ($(GOOS), linux) 48ifeq ($(GOOS), linux)
49 PROMU_CONF ?= .promu-no-cgo.yml 49 PROMU_CONF ?= .promu.yml
50else 50else
51 ifndef GOOS 51 ifndef GOOS
52 ifeq ($(OS_detected), Linux) 52 ifeq ($(OS_detected), Linux)
53 PROMU_CONF ?= .promu-no-cgo.yml 53 PROMU_CONF ?= .promu.yml
54 else 54 else
55 PROMU_CONF ?= .promu-cgo.yml 55 PROMU_CONF ?= .promu-cgo.yml
56 endif 56 endif