guix-commits
[Top][All Lists]
Advanced

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

05/09: gnu: bcachefs-tools: Prepare for cross-compilation.


From: guix-commits
Subject: 05/09: gnu: bcachefs-tools: Prepare for cross-compilation.
Date: Tue, 4 May 2021 09:41:25 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit abdb0210bd738fafd744c229c28e92d9898fae6f
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue May 4 11:41:07 2021 +0200

    gnu: bcachefs-tools: Prepare for cross-compilation.
    
    * gnu/packages/file-systems.scm (bcachefs-tools)[arguments]:
    Use CC-FOR-TARGET and PKG-CONFIG-FOR-TARGET.
---
 gnu/packages/file-systems.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index 46d9227..c3051b8 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -360,7 +360,8 @@ from a mounted file system.")
          (list ,(string-append "VERSION=" version) ; bogus vX.Y-nogit otherwise
                (string-append "PREFIX=" (assoc-ref %outputs "out"))
                "INITRAMFS_DIR=$(PREFIX)/share/initramfs-tools"
-               "CC=gcc"
+               ,(string-append "CC=" (cc-for-target))
+               ,(string-append "PKG_CONFIG=" (pkg-config-for-target))
                "PYTEST=pytest")
          #:phases
          (modify-phases %standard-phases



reply via email to

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