From 60587450e04d4583b790b36d6ab506831adb230b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 16 Nov 2020 14:17:27 +0200 Subject: [PATCH] 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 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"