~ruther/guix-local

ref: 1a1558e88f1f119be9dca28dac0bf554bc6aa171 guix-local/gnu/packages/patches/coreutils-fix-cross-compilation.patch -rw-r--r-- 604 bytes
1a1558e8 — Marius Bakke gnu: postgresql: Update to 9.6.4 [fixes CVE-2017-{7546,7547,7548}]. 8 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 \