We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2a8095 commit b0a7f64Copy full SHA for b0a7f64
Makefile
@@ -40,7 +40,7 @@ build:
40
# We need to force rebuild "mackerel-check" if GOOS or GOARCH are passed.
41
build/mackerel-check: $(patsubst %,depends_on,$(GOOS)$(GOARCH))
42
mkdir -p build
43
- go build -ldflags="-s -w -X main.gitcommit=$(CURRENT_REVISION)" \
+ CGO_ENABLED=0 go build -ldflags="-s -w -X main.gitcommit=$(CURRENT_REVISION)" \
44
-o build/mackerel-check
45
46
.PHONY: depends_on
0 commit comments