build: fix native build on M1 macs

pull/1491/head
Saúl Ibarra Corretgé 2 years ago
parent 1cdf970b59
commit 57e852f275
  1. 2
      Makefile

@ -10,6 +10,8 @@ ifeq ($(NATIVE_ARCH),x86_64)
TARGETPLATFORM := linux/amd64 TARGETPLATFORM := linux/amd64
else ifeq ($(NATIVE_ARCH),aarch64) else ifeq ($(NATIVE_ARCH),aarch64)
TARGETPLATFORM := linux/arm64 TARGETPLATFORM := linux/arm64
else ifeq ($(NATIVE_ARCH),arm64)
TARGETPLATFORM := linux/arm64
else else
TARGETPLATFORM := unsupported TARGETPLATFORM := unsupported
endif endif

Loading…
Cancel
Save