gnu: openblas: Fix building on riscv64-linux.

* gnu/packages/maths.scm (openblas)[arguments]: Adjust make-flags on
riscv64-linux to target the correct architecture when building for
riscv64-linux.
This commit is contained in:
Efraim Flashner 2021-08-04 09:46:26 +03:00
parent c1043fd60d
commit 264162124f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -4554,6 +4554,8 @@ (define-public openblas
;; Failed to detect CPU.
((string-prefix? "armhf" system)
'("TARGET=ARMV7"))
((string-prefix? "riscv64" system)
'("TARGET=RISCV64_GENERIC"))
(else '()))))
;; no configure script
#:phases