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:
Tobias Geerinckx-Rice 2021-05-04 11:41:07 +02:00
parent 3d25bc8ae4
commit abdb0210bd
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

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