gnu: bsdiff: Cross compile.

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

View file

@ -955,7 +955,8 @@ (define-public bsdiff
"0j2zm3z271x5aw63mwhr3vymzn45p2vvrlrpm9cz2nywna41b0hq"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "INSTALL=install" "CC=gcc"
`(#:make-flags (list "INSTALL=install"
(string-append "CC=" ,(cc-for-target))
(string-append "PREFIX=" (assoc-ref %outputs "out")))
#:phases (modify-phases %standard-phases
(delete 'configure)