summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2022-08-02 14:13:29 +0200
committerMathieu Othacehe <othacehe@gnu.org>2022-08-06 18:23:06 +0200
commitad878a2c5e5313c534ccf2546cb8c978e5295ae1 (patch)
tree2d0b211de74f67830e9b08f6ec0498c7c2c6fd23 /etc
parentb914ccc91525d847683b79f482b9d318b7f94aec (diff)
downloadguix-ad878a2c5e5313c534ccf2546cb8c978e5295ae1.tar.gz
xdg-utils: Support cross-compilation.
It has been verified that this does not cause rebuilds when compiling
natively.  The references graph when cross-compiling has also been verified --
glibc-2.33 and the native bash-static-5.1.8 still remains in the graph, but
via the cross-compiled inetutils-2.0, ncurses-6.2.20210619 and via
gcc-cross-TARGET-10.3.0-lib, which is not related with Perl cross-compilation.

* gnu/packages/freedesktop.scm
(xdg-utils)[inputs]{bash-minimal,file}: New inputs when cross-compiling.
(xdg-utils)[arguments]<#:phases>{locate-catalog-files}: Add 'native-inputs'
argument when cross-compiling. Look for docbook-xml and docbook-xsl in
native-inputs when cross-compiling.  While we are at it, eliminate input
labels with search-input-file.
(xdg-utils)[arguments]<#:phases>{patch-hardcoded-patch}: Use
search-input-file + inputs instead of 'which' when cross-compiling.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions