nim: add riscv64 support to template

This commit is contained in:
John 2023-02-07 12:46:22 +01:00
parent 735ae1ccc7
commit 760a679195

View file

@ -55,10 +55,11 @@ do_build() {
ppc64le*) _arch=powerpc64el;;
ppc64*) _arch=powerpc64;;
ppc*) _arch=powerpc;;
riscv64*) _arch=riscv64;;
esac
case "$XBPS_TARGET_MACHINE"
in arm*|aarch64*|ppc*)
in arm*|aarch64*|ppc*|riscv64*)
vsed -i config/nim.cfg -e 's/^arm\.linux\.gcc\.\(linker\)\?exe /#&/'
cat >>config/nim.cfg <<-EDIT
# VOIDLINUX TEMP