Ver código fonte

build: fix native build on M1 macs

Saúl Ibarra Corretgé 2 anos atrás
pai
commit
57e852f
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Makefile

+ 2 - 0
Makefile

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