diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 14:40:50 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-11-16 14:40:50 +0200 |
commit | 40b52444bb532489d8ac7418d304691a18fdf177 (patch) | |
tree | a86d9bfed3659eb9a4f1796300a951affe291374 | |
parent | c0040f0ed05781a189ca24bff00e1ee5979b7835 (diff) | |
download | guix-40b52444bb532489d8ac7418d304691a18fdf177.tar guix-40b52444bb532489d8ac7418d304691a18fdf177.tar.gz |
gnu: bsdiff: Cross compile.
* gnu/packages/compression.scm (bsdiff)[arguments]: Use cc-for-target in
make-flags.
-rw-r--r-- | gnu/packages/compression.scm | 3 |
1 files changed, 2 insertions, 1 deletions
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) |