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:
parent
c1043fd60d
commit
264162124f
1 changed files with 2 additions and 0 deletions
|
|
@ -4554,6 +4554,8 @@ parts of it.")
|
||||||
;; Failed to detect CPU.
|
;; Failed to detect CPU.
|
||||||
((string-prefix? "armhf" system)
|
((string-prefix? "armhf" system)
|
||||||
'("TARGET=ARMV7"))
|
'("TARGET=ARMV7"))
|
||||||
|
((string-prefix? "riscv64" system)
|
||||||
|
'("TARGET=RISCV64_GENERIC"))
|
||||||
(else '()))))
|
(else '()))))
|
||||||
;; no configure script
|
;; no configure script
|
||||||
#:phases
|
#:phases
|
||||||
|
|
|
||||||
Reference in a new issue