summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-11-16 14:17:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-11-16 14:17:27 +0200
commit60587450e04d4583b790b36d6ab506831adb230b (patch)
tree478c0df0bf48140702bd138650f6da0d266dd534 /gnu
parent50836eb7244bc7b4b3681f1bc63c6dc9e3b278ab (diff)
downloadguix-60587450e04d4583b790b36d6ab506831adb230b.tar.gz
gnu: bam: Cross-compile.
* gnu/packages/build-tools.scm (bam)[arguments]: Use cc-for-target in
make-flags.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/build-tools.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 120793545f..3f140efdb3 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"