From 20664319fdd56b8e2dc6de19d404ddb51f29a2a4 Mon Sep 17 00:00:00 2001 From: bpicode Date: Sun, 29 Oct 2017 21:54:57 +0100 Subject: [PATCH] Issue #93: force rebuilding of packages that are already up-to-date; disable cgo --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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