guix-commits
[Top][All Lists]
Advanced

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

01/14: gnu: i2c-tools: Actually cross-compile.


From: guix-commits
Subject: 01/14: gnu: i2c-tools: Actually cross-compile.
Date: Tue, 2 Jun 2020 20:21:44 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 1f0e1c49aa83d5d180f4f5ee945085eeb2d62191
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Wed Jun 3 01:26:13 2020 +0200

    gnu: i2c-tools: Actually cross-compile.
    
    * gnu/packages/linux.scm (i2c-tools)[arguments]: Use CC-FOR-TARGET.
---
 gnu/packages/linux.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4acd508..1466165 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3595,10 +3595,10 @@ create a firmware image suitable for the Linux kernel, 
and more.")
                 "000pvg995qy1b15ks59gd0klri55hb33kqpg5czy84hw1pbdgm0l"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:tests? #f  ; no 'check' target
+     `(#:tests? #f                      ; no 'check' target
        #:make-flags (list (string-append "prefix=" %output)
-                          "CC=gcc")
-       ;; no configure script
+                          ,(string-append "CC=" (cc-for-target)))
+       ;; No configure script.
        #:phases (modify-phases %standard-phases (delete 'configure))))
     (inputs
      `(("perl" ,perl)))



reply via email to

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