diff --git a/scripts/build b/scripts/build index 684c7fea..fb74b203 100755 --- a/scripts/build +++ b/scripts/build @@ -10,6 +10,8 @@ mkdir -p bin if [ ${ARCH} = armv7l ] || [ ${ARCH} = arm ]; then export GOARCH="arm" export GOARM="7" +elif [ ${ARCH} = riscv64 ]; then + export GOARCH="riscv64" fi if [ "$(uname)" = "Linux" ]; then