guix-commits
[Top][All Lists]
Advanced

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

03/14: gnu: mbpfan: Fix cross-compilation.


From: guix-commits
Subject: 03/14: gnu: mbpfan: Fix cross-compilation.
Date: Tue, 2 Jun 2020 20:21:45 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e45f0c79fbad86a9a181b8674219f385c8ea5504
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 3 01:31:27 2020 +0200

    gnu: mbpfan: Fix cross-compilation.
    
    * gnu/packages/linux.scm (mbpfan)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1a1821b..e60cc79 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6490,10 +6490,10 @@ interface to this kernel feature.")
         (base32 "0aijyxrqh01x0s80yr4cgxgd001iiqqph65pxvby7f0wz8lnxnqj"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:tests? #f                      ; tests ask to be run as root
+     `(#:tests? #f                      ; tests ask to be run as root
        #:make-flags (let ((out (assoc-ref %outputs "out")))
                       (list (string-append "DESTDIR=" out)
-                            "CC=gcc"))
+                            ,(string-append "CC=" (cc-for-target))))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-paths



reply via email to

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