Skip to content

Commit

Permalink
chore: change TARGET_PLATFORM and TARGET_ARCH not being used as i…
Browse files Browse the repository at this point in the history
…nput

Signed-off-by: zemyblue <zemyblue@gmail.com>
  • Loading branch information
zemyblue committed Jul 18, 2023
1 parent 884f24b commit 4b9583e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ DOCKER := $(shell which docker)
BUILDDIR ?= $(CURDIR)/build
CGO_ENABLED ?= 1
ARCH ?= amd64
TARGET_PLATFORM ?= linux/amd64
TARGET_ARCH ?= x86_64
TARGET_PLATFORM = linux/amd64
TARGET_ARCH = x86_64

export GO111MODULE = on

ifeq ($(ARCH), arm64)
TARGET_PLATFORM=linux/arm64
TARGET_PLATFORM = linux/arm64
TARGET_ARCH = aarch64
endif

Expand Down

0 comments on commit 4b9583e

Please sign in to comment.