summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/openblas.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/openblas.spec b/packaging/openblas.spec
index 3bd8eec4c..9ff233658 100644
--- a/packaging/openblas.spec
+++ b/packaging/openblas.spec
@@ -160,6 +160,9 @@ export LDFLAGS+="-Wl,-z,noexecstack"
%ifarch aarch64
%define openblas_target TARGET=ARMV8
%endif
+%ifarch riscv64
+%define openblas_target TARGET=RISCV64_GENERIC
+%endif
cd ..
# Make serial, threaded and OpenMP versions