diff --git a/community/ocamlbuild/APKBUILD b/community/ocamlbuild/APKBUILD
index 627fce9cfda6bb99e5c3a0c2c13f8d5451d7df71..d1967c3e39dc3f63d7fa5a6188eecd5edc3cb742 100644
--- a/community/ocamlbuild/APKBUILD
+++ b/community/ocamlbuild/APKBUILD
@@ -8,7 +8,8 @@ pkgrel=4
 pkgdesc="Generic build tool with built-in rules for building OCaml library and programs"
 options="!check"
 url="https://github.com/ocaml/ocamlbuild"
-arch="all !mips64" # blocked by ocaml
+# mips64 and riscv64 blocked by ocaml
+arch="all !mips64 !riscv64"
 license="LGPL-2.0-or-later-WITH-linking-exception"
 checkdepends="ocaml-compiler-libs ocaml-findlib"
 depends="ocaml-$pkgname=$pkgver-r$pkgrel cmd:tput"