From 8908c82bf9ea99bac1fe112504550692046a11a6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 10 Dec 2021 10:58:56 +0200 Subject: gnu: dosfstools: Fix cross-compilation. Reported by Florian Hoertlehner. * gnu/packages/disk.scm (dosfstools)[arguments]: Correctly refer to the build output. Use cc-for-target. --- gnu/packages/disk.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index 1a25729b4e..a9880d7abb 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -448,8 +448,8 @@ to recover data more efficiently by only reading the necessary blocks.") (build-system gnu-build-system) (arguments `(#:configure-flags (list "--enable-compat-symlinks") - #:make-flags (list (string-append "PREFIX=" %output) - "CC=gcc"))) + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + (string-append "CC=" ,(cc-for-target))))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) -- cgit 1.4.1