This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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 to update libtool in GCC and binutils trees


On Apr  2, 2007, Steve Ellcey <sje@cup.hp.com> wrote:

> So in the old version, when the top-level Makefile calls the libstdc++-v3
> configure it doesn't pass values for CXX or CXXFLAGS.  But in the new call
> it does.  I think this is where we are going wrong.

Actually, it passes it down in both cases, but I suppose libtool.m4
marks CXX and CXXFLAGS as "precious" environment variables (maybe it's
AC_PROG_CXX that does this, or libtool's wrapper thereof), such that
they get copied to the invocation command line.  This is probably what
breaks us if we don't override it properly for multi-libs.

-- 
Alexandre Oliva         http://www.lsd.ic.unicamp.br/~oliva/
FSF Latin America Board Member         http://www.fsfla.org/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}


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