Skip to content

Commit 1250f72

Browse files
committed
Minor Makefile cleanup
1 parent 5e6609d commit 1250f72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ BUILD_INFO := "$(VERSION)|$(GITCOMMIT)|$(BUILD_DATE)"
3030

3131
CURRDIR := $(shell pwd)
3232

33-
ARCH ?= amd64
3433
IMAGE_ARCH ?= amd64
34+
ARCH ?= amd64
3535
OS ?= linux
3636
UNAME_S := $(shell uname -s)
3737
GOPROXY ?= https://proxy.golang.org
@@ -344,7 +344,7 @@ $(BUILD_BIN)/runner: $(BUILD_PROPS) $(GOS)
344344
converter: $(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

0 commit comments

Comments
 (0)