diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-12-10 10:58:56 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-12-10 10:58:56 +0200 |
commit | 8908c82bf9ea99bac1fe112504550692046a11a6 (patch) | |
tree | 4a925e3b3b174f68e2e3807f9e35933a2be6f842 /gnu/packages/disk.scm | |
parent | 77ea796d1b60bba4ef523e965bb35d5cf2da0345 (diff) | |
download | guix-8908c82bf9ea99bac1fe112504550692046a11a6.tar.gz |
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.
Diffstat (limited to 'gnu/packages/disk.scm')
-rw-r--r-- | gnu/packages/disk.scm | 4 |
1 files 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) |