Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Issue #93: print buildflags
Browse files Browse the repository at this point in the history
  • Loading branch information
bpicode committed Oct 29, 2017
1 parent 69b0403 commit e6c8b67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 := -ldflags="-s -w -X github.com/bpicode/fritzctl/config.Version=$(FRITZCTL_VERSION)" -asmflags="-trimpath=$(GOPATH)" -gcflags="-trimpath=$(GOPATH)"
TESTFLAGS ?=

all: sysinfo deps build install test codequality completion_bash man
Expand All @@ -25,6 +25,8 @@ sysinfo:
@$(call ok)
@echo -n " GO : $(shell go version)"
@$(call ok)
@echo -n " BUILDFLAGS: $(BUILDFLAGS)"
@$(call ok)

clean:
@echo -n ">> CLEAN"
Expand Down

0 comments on commit e6c8b67

Please sign in to comment.