> From: Denis Excoffier <cyg...@denis-excoffier.org>
> Date: Wed, 1 Oct 2014 19:55:13 +0200
> 
> For me, under Cygwin, i had to apply the following in order to compile (GCC 
> 4.9.1):
> 
> diff -uNrp make-4.0.90-original/job.c make-4.0.90-patched/job.c
> --- make-4.0.90-original/job.c        2014-09-30 14:18:39.000000000 +0200
> +++ make-4.0.90-patched/job.c 2014-10-01 19:42:12.000000000 +0200
> @@ -2694,7 +2694,7 @@ construct_command_argv_internal (char *l
>    /* This is required if the MSYS/Cygwin ports (which do not define
>       WINDOWS32) are compiled with HAVE_DOS_PATHS defined, which uses
>       sh_chars_sh directly (see below).  */
> -  static const char *sh_chars_sh = sh_chars;
> +  const char *sh_chars_sh = sh_chars;
>  # endif  /* HAVE_DOS_PATHS */
>  #endif
>    int i;

What happens if you don't?

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to