Skip to content

Commit

Permalink
chore: Update Makefile to support arm64 for darwin and linux (fix syn…
Browse files Browse the repository at this point in the history
…tax) (#175)
  • Loading branch information
andyrzhao authored Dec 4, 2024
1 parent c88fcd7 commit 7722b77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}" ; \
Expand Down

0 comments on commit 7722b77

Please sign in to comment.