File riscv-v8.patch of Package chromium
Index: chromium-137.0.7151.55/v8/gni/v8.gni
===================================================================
--- chromium-137.0.7151.55.orig/v8/gni/v8.gni
+++ chromium-137.0.7151.55/v8/gni/v8.gni
@@ -234,7 +234,7 @@ assert(!(v8_enable_webassembly && v8_ena
if (v8_enable_pointer_compression == "") {
v8_enable_pointer_compression =
v8_current_cpu == "arm64" || v8_current_cpu == "x64" ||
- v8_current_cpu == "loong64"
+ v8_current_cpu == "loong64" || v8_current_cpu == "riscv64"
}
# The Wasm interpreter is currently supported only on arm64 and x64, on