[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: coreutils: Fix cross-compilation.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] gnu: coreutils: Fix cross-compilation. |
Date: |
Wed, 25 Jan 2017 19:01:38 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi Manolis!
address@hidden skribis:
> From: Manolis Ragkousis <address@hidden>
>
> * gnu/packages/patches/coreutils-fix-cross-compilation.patch: New file.
> * gnu/local.mk (dist_patch_DATA): Add it.
> * gnu/packages/base.scm [source]: Use it.
[...]
> --- /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
> + @address@hidden = src/ginstall
> +
> + # Use the just-built 'ginstall', when not cross-compiling.
> address@hidden@cu_install_program = @INSTALL_PROGRAM@
> address@hidden@cu_install_program := @INSTALL@
> + info_TEXINFOS = doc/coreutils.texi
LGTM! Even if upstream settles on a different approach, this patch is
fine for our purposes.
Thanks for investigating!
Ludo’.