From 40b52444bb532489d8ac7418d304691a18fdf177 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 16 Nov 2020 14:40:50 +0200 Subject: [PATCH] gnu: bsdiff: Cross compile. * gnu/packages/compression.scm (bsdiff)[arguments]: Use cc-for-target in make-flags. --- gnu/packages/compression.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 4b6ec79457..2323215034 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -955,7 +955,8 @@ tarballs.") "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)