From 67ce43c0d3664ea1f45b155e8e8857cf30e02c46 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 6 Jul 2021 15:52:49 +0300 Subject: gnu: openblas: Fix building on armhf-linux. * gnu/packages/maths.scm (openblas)[arguments]: Add make-flag to set target architecture. --- gnu/packages/maths.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 93b8ee2ad4..3d3d20d609 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -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 -- cgit v1.2.3