aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-10-12 15:06:12 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2020-10-12 15:07:53 +0200
commit2b6ecdf41a09ab9ecae06d7c537583a2f0f28efc (patch)
tree55edd9becd1bda5a7b3c27d6fa3d841ee90debb1
parentb6c55a723fab94bbf710c331fe62d839fb0bf6ad (diff)
downloadguix-2b6ecdf41a09ab9ecae06d7c537583a2f0f28efc.tar
guix-2b6ecdf41a09ab9ecae06d7c537583a2f0f28efc.tar.gz
gnu: lz4: Cross-compile.
* gnu/packages/compression.scm (lz4)[arguments]: Use CC-FOR-TARGET.
-rw-r--r--gnu/packages/compression.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 083b82bf36..43831e0ff2 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -804,7 +804,7 @@ decompression of some loosely related file formats used by Microsoft.")
("valgrind" ,valgrind)))
(arguments
`(#:test-target "test"
- #:make-flags (list "CC=gcc"
+ #:make-flags (list (string-append "CC=" ,(cc-for-target))
(string-append "prefix=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure) ;no configure script