guix-commits
[Top][All Lists]
Advanced

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

03/10: gnu: duperemove: Prepare for cross-compilation.


From: guix-commits
Subject: 03/10: gnu: duperemove: Prepare for cross-compilation.
Date: Sat, 7 Nov 2020 09:35:42 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit 4ace204d8d5a29222c55771a702876fc71d1f87f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sat Nov 7 14:46:36 2020 +0100

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

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 235df8c..1647ea5 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -86,7 +86,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))
 
 (define-public udevil
   (package
@@ -580,7 +581,7 @@ a card with a smaller capacity than stated.")
        (modify-phases %standard-phases
          (delete 'configure))           ; no configure script
        #:make-flags (list (string-append "PREFIX=" %output)
-                          "CC=gcc")))
+                          (string-append "CC=" ,(cc-for-target)))))
     (home-page "https://github.com/markfasheh/duperemove";)
     (synopsis "Tools for de-duplicating file system data")
     (description "Duperemove is a simple tool for finding duplicated extents



reply via email to

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