gnu: openblas: Fix building on armhf-linux.

* gnu/packages/maths.scm (openblas)[arguments]: Add make-flag to set
target architecture.
This commit is contained in:
Efraim Flashner 2021-07-06 15:52:49 +03:00
parent f480f27c9c
commit 67ce43c0d3
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

@ -3858,6 +3858,9 @@ parts of it.")
;; On aarch64 force the generic 'armv8-a' target
((string-prefix? "aarch64" system)
'("TARGET=ARMV8"))
;; Failed to detect CPU.
((string-prefix? "armhf" system)
'("TARGET=ARMV7"))
(else '()))))
;; no configure script
#:phases