me
/
guix
Archived
1
0
Fork 0

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.
master
Efraim Flashner 2021-12-10 10:58:56 +02:00
parent 77ea796d1b
commit 8908c82bf9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 2 deletions

View File

@ -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)