guix-commits
[Top][All Lists]
Advanced

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

15/15: gnu: cpuid: Use CC-FOR-TARGET.


From: guix-commits
Subject: 15/15: gnu: cpuid: Use CC-FOR-TARGET.
Date: Wed, 14 Oct 2020 10:32:32 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 2bfe99b11ac89ea723fd5d8aed9d6cdac78d71d4
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Oct 14 14:17:13 2020 +0200

    gnu: cpuid: Use CC-FOR-TARGET.
    
    This doesn't actually enable cross-compilation.
    
    * gnu/packages/linux.scm (cpuid)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/linux.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1c71c15..93db178 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6437,7 +6437,8 @@ available in the kernel Linux.")
                 "19jnkh57f979b78ak5mpxmdvnkgc33r55cw9shgd2hc380b3zi8k"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:make-flags '("CC=gcc")
+     '(#:make-flags
+       (list (string-append "CC=" ,(cc-for-target)))
        #:tests? #f                      ; no tests
        #:phases (modify-phases %standard-phases
                   (delete 'configure)   ; no configure script



reply via email to

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