This is the mail archive of the mailing list for the libstdc++ project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> 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?

    Hi Ralf,

  Is it possible that this patch is related to a problem I'm experiencing on
HEAD (r151124) where LTLDFLAGS in libstdc++-v3/src appears no longer to be
used in the final link of

  It used to be that LTLDFLAGS was included in CXXLINK, which was used in the
rule for linking, but now that rule uses libstdc___la_LINK
instead.  Is it perhaps the case that both LTLDFLAGS and CXXLINK are now
obsolete in the v3 makefiles and don't need to be defined at all?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]