guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/19: gnu: openlibm: Fix cross-compiling.


From: guix-commits
Subject: 06/19: gnu: openlibm: Fix cross-compiling.
Date: Wed, 28 Jul 2021 09:08:20 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 1978d716a97547d2768dbf50438388e31b1acc5e
Author: Jean-Baptiste Volatier <jbv@pm.me>
AuthorDate: Thu Jul 22 12:34:46 2021 +0300

    gnu: openlibm: Fix cross-compiling.
    
    * gnu/packages/maths.scm (openlibm)[arguments]: Add configure-flag to
    use cc-for-target.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/maths.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 05c92ce..d4e3aca 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4198,7 +4198,8 @@ access to BLIS implementations via traditional BLAS 
routine calls.")
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
-       (list (string-append "prefix=" (assoc-ref %outputs "out")))
+       (list (string-append "prefix=" (assoc-ref %outputs "out"))
+             ,(string-append "CC=" (cc-for-target)))
        #:phases
        ;; no configure script
        (modify-phases %standard-phases (delete 'configure))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]