builds a static (portable) binary now!
This commit is contained in:
parent
563bd4f16c
commit
f16e140cac
2
Makefile
2
Makefile
@ -13,7 +13,7 @@ GOLDFLAGS += -X main.Version=$(VERSION)
|
||||
GOLDFLAGS += -X main.Buildtime=$(BUILDTIME)
|
||||
GOLDFLAGS += -X main.Builduser=$(BUILDUSER)@$(BUILDHOST)
|
||||
GOLDFLAGS += -X main.Buildarch=$(BUILDARCH)
|
||||
GOFLAGS = -ldflags "$(GOLDFLAGS)"
|
||||
GOFLAGS = -ldflags "-linkmode external -extldflags -static $(GOLDFLAGS)"
|
||||
|
||||
default: rundebug
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user