aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-11-07 14:46:36 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-11-07 15:35:06 +0100
commit4ace204d8d5a29222c55771a702876fc71d1f87f (patch)
tree9c84d4b818212a450e8b59af29c800f847dee30c /gnu/packages
parent7392ea3af0dae4f99e56acd2d400c62dd86de3f5 (diff)
downloadguix-4ace204d8d5a29222c55771a702876fc71d1f87f.tar
guix-4ace204d8d5a29222c55771a702876fc71d1f87f.tar.gz
gnu: duperemove: Prepare for cross-compilation.
* gnu/packages/disk.scm (duperemove)[arguments]: Use CC-FOR-TARGET.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/disk.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 235df8ce9e..1647ea58bf 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