summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-16 14:39:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-16 14:39:41 +0200
commitc0040f0ed05781a189ca24bff00e1ee5979b7835 (patch)
tree99520d0ebb84571d9125bb2e067d19d298914ad0 /gnu
parentdfb4a28575d7afb7883837d51249b3757761ada7 (diff)
downloadguix-c0040f0ed05781a189ca24bff00e1ee5979b7835.tar.gz
gnu: squashfs-tools: Cross compile.
* gnu/packages/compression.scm (squashfs-tools)[arguments]: Use
cc-for-target in make-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/compression.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index d61c6bf719..4b6ec79457 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -848,9 +848,9 @@ time for compression ratio.")
                 "0zmhvczscqz0mzh4b9m8m42asq14db0a6lc8clp5ljq5ybrv70d9"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:tests? #f                      ; no check target
+     `(#:tests? #f                      ; no check target
        #:make-flags
-       (list "CC=gcc"
+       (list (string-append "CC=" ,(cc-for-target))
              "XZ_SUPPORT=1"
              "LZO_SUPPORT=1"
              "LZ4_SUPPORT=1"