fix makefile flags
This commit is contained in:
@@ -18,13 +18,13 @@ BINDIR ?= $(PREFIX)/bin
|
||||
MANDIR ?= $(PREFIX)/share/man
|
||||
|
||||
# program paths and flags #
|
||||
GO ?= go
|
||||
#GO ?= go
|
||||
# purely statically link (useful for cross compiling)
|
||||
#GO ?= CGO_ENABLED=0 go
|
||||
GO ?= CGO_ENABLED=0 go
|
||||
GOFLAGS ?=
|
||||
#GOLDFLAGS ?= -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
|
||||
# also strips executable, significantly reduces size
|
||||
GOLDFLAGS ?= -s -w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)$(GITDIRTY)
|
||||
GOLDFLAGS ?= -s -w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)
|
||||
SCDOC ?= scdoc
|
||||
MKDIR ?= mkdir -p
|
||||
RM ?= rm -f
|
||||
|
||||
Reference in New Issue
Block a user