guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/17: gnu: bsdiff: Cross compile.


From: guix-commits
Subject: 15/17: gnu: bsdiff: Cross compile.
Date: Mon, 16 Nov 2020 08:12:40 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 40b52444bb532489d8ac7418d304691a18fdf177
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 16 14:40:50 2020 +0200

    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 4b6ec79..2323215 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]