From b885635cf30752b00fccef2670ab5207107c6684 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 25 Jan 2023 14:37:29 +0100 Subject: [PATCH] nodejs: add riscv64 --- srcpkgs/nodejs/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index 76cfeb088a3..33d4fd11ad8 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -67,6 +67,7 @@ do_configure() { mips*) _args="--dest-cpu=mips" ;; i686*) _args="--dest-cpu=x86" ;; x86_64*) _args="--dest-cpu=x86_64" ;; + riscv64*) _args="--dest-cpu=riscv64" ;; *) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}.\n" ;; esac # this is necessary - for example, normally compiling from ppc64le