summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-03-03 19:07:16 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-03-04 00:44:55 +0100
commite430433bb99b948cb6ef079a967fca8ce9a794bf (patch)
treeb0552fd6edf10128acec0629c6ead34ef935e153
parenta5528684c486226aa3ec00bcf1044dcd596b0dde (diff)
gnu: compsize: Prepare for cross-compilation.
* gnu/packages/linux.scm (compsize)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/linux.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0ae57db373..96cd150a63 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5094,7 +5094,8 @@ blocks and random block placement.")
`(("btrfs-progs" ,btrfs-progs)))
(arguments
`(#:tests? #f ; No tests.
- #:make-flags (list "CC=gcc")
+ #:make-flags
+ (list (string-append "CC=" ,(cc-for-target)))
#:phases
(modify-phases %standard-phases
(delete 'configure)