From 7722b772ce62f28047b4166dd8d9de50273de920 Mon Sep 17 00:00:00 2001 From: Andy Zhao Date: Wed, 4 Dec 2024 09:44:49 -0800 Subject: [PATCH] chore: Update Makefile to support arm64 for darwin and linux (fix syntax) (#175) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b6f59a7..2eb69b6 100644 --- a/Makefile +++ b/Makefile @@ -26,10 +26,10 @@ build: @for GOOS in ${GOOSES}; do \ if [ $${GOOS} = "windows" ]; then \ SUFFIX=".exe"; \ - GOARCHES_SUPPORTED="amd64"; # Only build amd64 for Windows + GOARCHES_SUPPORTED="amd64"; \ else \ SUFFIX=""; \ - GOARCHES_SUPPORTED="${GOARCHES}"; # Use all architectures for other OSes + GOARCHES_SUPPORTED="${GOARCHES}"; \ fi ; \ for GOARCH in ${GOARCHES_SUPPORTED}; do \ echo "Building $${GOOS}/$${GOARCH}" ; \