gnu: squashfs-tools: Cross compile.

* gnu/packages/compression.scm (squashfs-tools)[arguments]: Use
cc-for-target in make-flags.
This commit is contained in:
Efraim Flashner 2020-11-16 14:39:41 +02:00
parent dfb4a28575
commit c0040f0ed0
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -848,9 +848,9 @@ (define-public squashfs-tools
"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"