guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates-frozen updated: gnu: dosfstools: Fix cross-compilati


From: guix-commits
Subject: branch core-updates-frozen updated: gnu: dosfstools: Fix cross-compilation.
Date: Fri, 10 Dec 2021 04:05:42 -0500

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch core-updates-frozen
in repository guix.

The following commit(s) were added to refs/heads/core-updates-frozen by this 
push:
     new 8908c82  gnu: dosfstools: Fix cross-compilation.
8908c82 is described below

commit 8908c82bf9ea99bac1fe112504550692046a11a6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Dec 10 10:58:56 2021 +0200

    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 1a25729..a9880d7 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]