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