guix-commits
[Top][All Lists]
Advanced

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

12/17: gnu: bam: Cross-compile.


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

efraim pushed a commit to branch master
in repository guix.

commit 60587450e04d4583b790b36d6ab506831adb230b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Nov 16 14:17:27 2020 +0200

    gnu: bam: Cross-compile.
    
    * gnu/packages/build-tools.scm (bam)[arguments]: Use cc-for-target in
    make-flags.
---
 gnu/packages/build-tools.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 1207935..3f140ef 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -68,7 +68,7 @@
                 "13br735ig7lygvzyfd15fc2rdygrqm503j6xj5xkrl1r7w2wipq6"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:make-flags `("CC=gcc"
+     `(#:make-flags `(,(string-append "CC=" ,(cc-for-target))
                       ,(string-append "INSTALL_PREFIX="
                                       (assoc-ref %outputs "out")))
        #:test-target "test"



reply via email to

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