Follow-up Comment #1, sr #111245 (group libtool): I got the same issue with LLVM-mingw when using `-flto`. Using this patch (i.e. the second proposal) fixes it:
> ---
> build-aux/ltmain.in | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
> index ffd4c716..bf927f0c 100644
> --- a/build-aux/ltmain.in
> +++ b/build-aux/ltmain.in
> @@ -3994,6 +3994,8 @@ main (int argc, char *argv[])
>
> int i;
>
> + (void) MAGIC_EXE;
> +
> program_name = (char *) xstrdup (base_name (argv[0]));
> newargz = XMALLOC (char *, (size_t) argc + 1);
>
> --
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/support/?111245>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
