Fix: docker build makefile

This commit is contained in:
Dreamacro 2022-03-16 12:13:59 +08:00
parent 6a661bff0c
commit fb7d340233

View file

@ -34,7 +34,7 @@ WINDOWS_ARCH_LIST = \
all: linux-amd64 darwin-amd64 windows-amd64 # Most used
docker:
$(GOBUILD) GOAMD64=v3 -o $(BINDIR)/$(NAME)-$@
GOAMD64=v3 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@
darwin-amd64:
GOARCH=amd64 GOOS=darwin GOAMD64=v3 $(GOBUILD) -o $(BINDIR)/$(NAME)-$@