guix-commits
[Top][All Lists]
Advanced

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

07/10: gnu: mcelog: Cross-compile.


From: guix-commits
Subject: 07/10: gnu: mcelog: Cross-compile.
Date: Mon, 11 Jan 2021 17:31:37 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 0463f7d7064ad1d9a5ee3c1d05191ff8693ade84
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Jan 11 22:18:10 2021 +0100

    gnu: mcelog: Cross-compile.
    
    * gnu/packages/linux.scm (mcelog)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/linux.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3f44253..f1dcf72 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5933,7 +5933,7 @@ the default @code{nsswitch} and the experimental 
@code{umich_ldap}.")
      `(#:phases (modify-phases %standard-phases
                   (delete 'configure))  ; no configure script
        #:make-flags (let ((out (assoc-ref %outputs "out")))
-                      (list "CC=gcc"
+                      (list (string-append "CC=" ,(cc-for-target))
                             (string-append "prefix=" out)
                             (string-append "DOCDIR=" out "/share/doc/"
                                            ,name "-" ,version)



reply via email to

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