This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: LDFLAGS handling in V3
On Wed, Jul 27, 2005 at 02:56:25PM -0700, Mark Mitchell wrote:
> Daniel Jacobowitz wrote:
>
> >That would be a bug. LDFLAGS are intended to be compiler driver
> >options; that's not a new requirement.
>
> OK, great. So, then, the libstdc++ Makefiles should turn them into -Wc,
> options to libtool, rather than -Wl, as I proposed? That would make
> clear to libtool that it needs to pass them along to the compiler,
> rather than silently ignore them. Thoughts?
Or you could do that in the top level, since only --sysroot is affected?
Will libtool pass -Wc options to the link phase?
--
Daniel Jacobowitz
CodeSourcery, LLC