From a2aa82d9f324a5bdb7d606a3d0b666b0b4fad5e2 Mon Sep 17 00:00:00 2001 From: Pablo Lecolinet Date: Sun, 6 Jun 2021 22:40:43 +0200 Subject: [PATCH] Add ARM64/ARMv8 build --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index e337d6e..a14a5cc 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ releases := \ $(dist_dir)/cheat-linux-arm5 \ $(dist_dir)/cheat-linux-arm6 \ $(dist_dir)/cheat-linux-arm7 \ + $(dist_dir)/cheat-linux-arm64 \ $(dist_dir)/cheat-windows-amd64.exe ## build: build an executable for your architecture @@ -76,6 +77,11 @@ $(dist_dir)/cheat-linux-arm6: prepare $(dist_dir)/cheat-linux-arm7: prepare GOARCH=arm GOOS=linux GOARM=7 \ $(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(GZIP) $@ && chmod -x $@.gz + +# cheat-linux-arm64 +$(dist_dir)/cheat-linux-arm64: prepare + GOARCH=arm64 GOOS=linux \ + $(GO) build $(BUILD_FLAGS) -o $@ $(cmd_dir) && $(GZIP) $@ && chmod -x $@.gz # cheat-windows-amd64 $(dist_dir)/cheat-windows-amd64.exe: prepare