nckx pushed a commit to branch master
in repository guix.
commit 4ace204d8d5a29222c55771a702876fc71d1f87f
Author: Tobias Geerinckx-Rice <[email protected]>
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