diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-07 14:46:36 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-07 15:35:06 +0100 |
commit | 4ace204d8d5a29222c55771a702876fc71d1f87f (patch) | |
tree | 9c84d4b818212a450e8b59af29c800f847dee30c | |
parent | 7392ea3af0dae4f99e56acd2d400c62dd86de3f5 (diff) | |
download | guix-4ace204d8d5a29222c55771a702876fc71d1f87f.tar.gz |
gnu: duperemove: Prepare for cross-compilation.
* gnu/packages/disk.scm (duperemove)[arguments]: Use CC-FOR-TARGET.
-rw-r--r-- | gnu/packages/disk.scm | 5 |
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 |