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 @@ 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
|
||||
|
|
Reference in a new issue