From 6eb950745b1fbc96dfd14a299337f7d6c401e271 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Mon, 2 May 2022 19:07:43 -0500 Subject: [PATCH] Cross-compile for non-64-bit ARM processors (ex. Raspberry Pi) --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f73cb73..29b68c7 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ bin: cross: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags=$(LDFLAGS) -o bin/docker-compose-linux-amd64 . CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags=$(LDFLAGS) -o bin/docker-compose-linux-arm64 . + CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags=$(LDFLAGS) -o bin/docker-compose-linux-arm . test: go test -cover ./...