diff --git a/community/nodejs-current/APKBUILD b/community/nodejs-current/APKBUILD index 2281f9bbb9fa..c97dccdbc2f3 100644 --- a/community/nodejs-current/APKBUILD +++ b/community/nodejs-current/APKBUILD @@ -43,7 +43,7 @@ pkgver=16.3.0 pkgrel=0 pkgdesc="JavaScript runtime built on V8 engine - current stable version" url="https://nodejs.org/" -arch="all !mips64 !mips64el" +arch="all !mips64 !mips64el !riscv64" license="MIT" depends="ca-certificates" depends_dev="libuv" @@ -90,6 +90,7 @@ build() { case "$CARCH" in mips*) _carchflags="--with-mips-arch-variant=r1 --with-mips-float-abi=soft";; + riscv64) _carchflags="--dest-cpu=riscv64"; esac ./configure --prefix=/usr \