diff --git a/Makefile b/Makefile index d0b5c67b..d5df4a5e 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,9 @@ FRITZCTL_OUTPUT ?= fritzctl BASH_COMPLETION_OUTPUT ?= "os/completion/fritzctl" MAN_PAGE_OUTPUT ?= "os/man/fritzctl.1" DEPENDENCIES_GRAPH_OUTPUT ?= "dependencies.png" -BUILDFLAGS := -ldflags="-s -w -X github.com/bpicode/fritzctl/config.Version=$(FRITZCTL_VERSION)" -asmflags="-trimpath=$(GOPATH)" -gcflags="-trimpath=$(GOPATH)" +BUILDFLAGS := -a -ldflags="-s -w -X github.com/bpicode/fritzctl/config.Version=$(FRITZCTL_VERSION)" -asmflags="-trimpath=$(GOPATH)" -gcflags="-trimpath=$(GOPATH)" TESTFLAGS ?= +CGO_ENABLED ?= 0 all: sysinfo deps build install test codequality completion_bash man