Skip to content

Commit

Permalink
chore: Makefile - fix cross compilation (#509)
Browse files Browse the repository at this point in the history
Signed-off-by: Yvonnick Esnault <[email protected]>
  • Loading branch information
yesnault authored Feb 11, 2022
1 parent 3d44aa6 commit 993d6ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .build/go.mk
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ mk_go_test-xunit: $(GO_GOJUNIT) $(GO_XUTOOLS) $(TARGET_RESULTS) # Generate test
TMP_DIR = /tmp/ovh/venom

OSNAME=$(shell go env GOOS)
ARCH = $(shell go env GOARCH)
LINT_ARCH = $(shell go env GOARCH)
CUR_PATH = $(notdir $(shell pwd))

LINT_DIR = $(TMP_DIR)/$(CUR_PATH)/golangci-lint
LINT_BIN = $(LINT_DIR)/golangci-lint

LINT_VERSION=1.31.0
LINT_CMD = $(LINT_BIN) run --allow-parallel-runners -c .golangci.yml --build-tags $(OSNAME)
LINT_ARCHIVE = golangci-lint-$(LINT_VERSION)-$(OSNAME)-$(ARCH).tar.gz
LINT_ARCHIVE = golangci-lint-$(LINT_VERSION)-$(OSNAME)-$(LINT_ARCH).tar.gz
LINT_ARCHIVE_DEST = $(TMP_DIR)/$(LINT_ARCHIVE)

# Run this on localc machine.
Expand Down

0 comments on commit 993d6ec

Please sign in to comment.