diff options
author | Manolis Ragkousis <manolis837@gmail.com> | 2017-01-18 20:48:27 +0200 |
---|---|---|
committer | Manolis Ragkousis <manolis837@gmail.com> | 2017-01-27 10:19:25 +0200 |
commit | 82a7a8c6671cb50a7886983af0c2d58d1cf62bc9 (patch) | |
tree | 6dcb8a1c733edbf2fe422fa83caf8aff6e9d2faa /gnu/packages/patches/coreutils-fix-cross-compilation.patch | |
parent | ef00f3ebaee08fe245cad6a6e0b431f88a4b7103 (diff) | |
download | guix-patches-82a7a8c6671cb50a7886983af0c2d58d1cf62bc9.tar guix-patches-82a7a8c6671cb50a7886983af0c2d58d1cf62bc9.tar.gz |
gnu: coreutils: Fix cross-compilation.
* gnu/packages/patches/coreutils-fix-cross-compilation.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/base.scm (coreutils)[source]: Use it.
Diffstat (limited to 'gnu/packages/patches/coreutils-fix-cross-compilation.patch')
-rw-r--r-- | gnu/packages/patches/coreutils-fix-cross-compilation.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/patches/coreutils-fix-cross-compilation.patch b/gnu/packages/patches/coreutils-fix-cross-compilation.patch new file mode 100644 index 0000000000..3f0d35c33e --- /dev/null +++ b/gnu/packages/patches/coreutils-fix-cross-compilation.patch @@ -0,0 +1,15 @@ +Coreutils fails to cross compile for other platforms because cu_install_program +is not being evaluated properly. This patch fixes it. +See <https://lists.gnu.org/archive/html/coreutils/2017-01/msg00039.html> +--- a/Makefile.in ++++ b/Makefile.in +@@ -5023,7 +5023,7 @@ pr = progs-readme + @CROSS_COMPILING_FALSE@cu_install_program = src/ginstall + + # Use the just-built 'ginstall', when not cross-compiling. +-@CROSS_COMPILING_TRUE@cu_install_program = @INSTALL_PROGRAM@ ++@CROSS_COMPILING_TRUE@cu_install_program := @INSTALL@ + info_TEXINFOS = doc/coreutils.texi + doc_coreutils_TEXINFOS = \ + doc/perm.texi \ + |