guix-commits
[Top][All Lists]
Advanced

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

11/12: gnu: memtester: Fix cross-compilation.


From: guix-commits
Subject: 11/12: gnu: memtester: Fix cross-compilation.
Date: Tue, 2 Jun 2020 14:50:49 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 907b9dc8cb87a2ef831627185b4cb08576b87622
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Jun 2 20:29:12 2020 +0200

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

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 7ebe8f4..6a2e2c6 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -43,7 +43,8 @@
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
-  #:use-module (guix packages))
+  #:use-module (guix packages)
+  #:use-module (guix utils))
 
 ;; This is a module for packages related to physical hardware that don't (yet)
 ;; have a more specific home like gps.scm, security-token.scm, &c.
@@ -203,7 +204,7 @@ Memtest86+ cannot currently be used on computers booted 
with UEFI.")
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
-       (list "CC=gcc")
+       (list ,(string-append "CC=" (cc-for-target)))
        #:phases
        (modify-phases %standard-phases
          (replace 'configure



reply via email to

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