From 876653ebc81256bf19d276f46e195853f511ec94 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Wed, 18 Jan 2023 12:06:06 +0800 Subject: [PATCH] Feature: add riscv64 build --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 360a2cd..e546d99 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,7 @@ PLATFORM_LIST = \ linux-mipsle-hardfloat \ linux-mips64 \ linux-mips64le \ + linux-riscv64 \ freebsd-386 \ freebsd-amd64 \ freebsd-amd64-v3 \ @@ -85,6 +86,9 @@ linux-mips64: linux-mips64le: GOARCH=mips64le GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ +linux-riscv64: + GOARCH=riscv64 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ + freebsd-386: GOARCH=386 GOOS=freebsd $(GOBUILD) -o $(BINDIR)/$(NAME)-$@