This is the mail archive of the libstdc++@gcc.gnu.org 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: Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX.


Ping <http://gcc.gnu.org/ml/gcc-patches/2010-01/msg00349.html>

Note that I haven't gotten any feedback on whether this actually fixes
PR 35942.

Thanks,
Ralf

* Ralf Wildenhues wrote on Thu, Jan 07, 2010 at 09:02:33PM CET:
> Bootstrapped and regtested on x86_64-unknown-linux-gnu, i.e., only
> native build.  There has been no feedback yet whether this patch fixes
> the PR, but I'm fairly confident.  OK for trunk when/if that is
> confirmed?

> Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX.
> 
> libstdc++-v3/ChangeLog:
> 2010-01-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
> 
> 	PR libstdc++/35942
> 	* configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
> 	* configure: Regenerate.
> 
> diff --git a/libstdc++-v3/configure.ac b/libstdc++-v3/configure.ac
> index 2ee2bdb..22c830b 100644
> --- a/libstdc++-v3/configure.ac
> +++ b/libstdc++-v3/configure.ac
> @@ -98,6 +98,9 @@ AM_PROG_LIBTOOL
>  AC_SUBST(enable_shared)
>  AC_SUBST(enable_static)
>  
> +# Eliminate -lstdc++ addition to postdeps for cross compiles.
> +postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
> +
>  # Possibly disable most of the library.
>  ## TODO: Consider skipping unncessary tests altogether in this case, rather
>  ## than just ignoring the results.  Faster /and/ more correct, win win.


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