This is the mail archive of the
mailing list for the libstdc++ project.
Re: [PATCH 2/N] LIBTOOLFLAGS, and *_LINK fixes for Automake 1.11
Ralf Wildenhues wrote:
>> - LIBTOOLFLAGS, and *_LINK fixes for Automake 1.11 (GCC only)
> Automake handling of per-target LDFLAGS rules changed which means
> that if you override *_LINK manually, you have to ensure that they
> are used, too.
> Automake introduced $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS)
> (or per-target LIBTOOLFLAGS). Add them where we manually override
> $(LINK). Also, add $(LIBTOOLFLAGS) where we use $(LIBTOOL) in
> Makefile.in files not governed by automake.
> When this patch is used with Automake 1.9.6, there is a small chance for
> problems: its rules may now cause duplicate expansion of some of the
> link flags. If link flags duplication is a problem on some systems,
> then this can cause failures. I haven't tested this much.
> OK to apply?
Wait for discussion/approval of the override.m4 patch to fix the 2.64
regression before applying this and the jumbo regeneration. However, as
far as this patch is concerned, you know better than anyone else.