mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: bcachefs-tools: Prepare for cross-compilation.
* gnu/packages/file-systems.scm (bcachefs-tools)[arguments]: Use CC-FOR-TARGET and PKG-CONFIG-FOR-TARGET.
This commit is contained in:
parent
3d25bc8ae4
commit
abdb0210bd
1 changed files with 2 additions and 1 deletions
|
@ -360,7 +360,8 @@ (define-public bcachefs-tools
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue