From 11a7c3ee7bc4475c1b9f2679d33579d3375f7e34 Mon Sep 17 00:00:00 2001 From: John Buhay Date: Thu, 16 Dec 2021 21:30:01 -0500 Subject: [PATCH] correct Makefile for error: cmd/go: unsupported GOOS/GOARCH pair linux/aarch64 --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index b9d80f1..5b2d654 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,6 @@ dist: deps dist-clean mkdir -p dist/linux/386 && GOOS=linux GOARCH=386 go build -ldflags "$(LDFLAGS)" -o dist/linux/386/dockerize mkdir -p dist/linux/armel && GOOS=linux GOARCH=arm GOARM=5 go build -ldflags "$(LDFLAGS)" -o dist/linux/armel/dockerize mkdir -p dist/linux/armhf && GOOS=linux GOARCH=arm GOARM=6 go build -ldflags "$(LDFLAGS)" -o dist/linux/armhf/dockerize - mkdir -p dist/linux/aarch64 && GOOS=linux GOARCH=aarch64 go build -ldflags "$(LDFLAGS)" -o dist/linux/aarch64/dockerize mkdir -p dist/linux/ppc64le && GOOS=linux GOARCH=ppc64le go build -ldflags "$(LDFLAGS)" -o dist/linux/ppc64le/dockerize mkdir -p dist/darwin/amd64 && GOOS=darwin GOARCH=amd64 go build -ldflags "$(LDFLAGS)" -o dist/darwin/amd64/dockerize @@ -36,6 +35,5 @@ release: dist tar -cvzf dockerize-linux-386-$(TAG).tar.gz -C dist/linux/386 dockerize tar -cvzf dockerize-linux-armel-$(TAG).tar.gz -C dist/linux/armel dockerize tar -cvzf dockerize-linux-armhf-$(TAG).tar.gz -C dist/linux/armhf dockerize - tar -cvzf dockerize-linux-aarch64-$(TAG).tar.gz -C dist/linux/aarch64 dockerize tar -cvzf dockerize-linux-ppc64le-$(TAG).tar.gz -C dist/linux/ppc64le dockerize tar -cvzf dockerize-darwin-amd64-$(TAG).tar.gz -C dist/darwin/amd64 dockerize