File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ BUILD_INFO := "$(VERSION)|$(GITCOMMIT)|$(BUILD_DATE)"
3030
3131CURRDIR := $(shell pwd)
3232
33- ARCH ?= amd64
3433IMAGE_ARCH ?= amd64
34+ ARCH ?= amd64
3535OS ?= linux
3636UNAME_S := $(shell uname -s)
3737GOPROXY ?= https://proxy.golang.org
@@ -344,7 +344,7 @@ $(BUILD_BIN)/runner: $(BUILD_PROPS) $(GOS)
344344converter : $(BUILD_BIN ) /converter $(BUILD_BIN ) /converter-linux-amd64 $(BUILD_BIN ) /converter-darwin-amd64 $(BUILD_BIN ) /converter-windows-amd64
345345
346346$(BUILD_BIN ) /converter : $(BUILD_PROPS ) $(GOS )
347- CGO_ENABLED=0 GO111MODULE=on GOOS=$( OS ) GOARCH=$( ARCH ) go build -o $(BUILD_BIN ) /converter ./converter
347+ CGO_ENABLED=0 GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o $(BUILD_BIN ) /converter ./converter
348348
349349$(BUILD_BIN ) /converter-linux-amd64 : $(BUILD_PROPS ) $(GOS )
350350 CGO_ENABLED=0 GO111MODULE=on GOOS=linux GOARCH=amd64 go build -o $(BUILD_BIN ) /converter-linux-amd64 ./converter
You can’t perform that action at this time.
0 commit comments