From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30709 invoked by alias); 5 Apr 2007 22:54:31 -0000 Received: (qmail 30694 invoked by uid 22791); 5 Apr 2007 22:54:30 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Apr 2007 23:54:28 +0100 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l35MoKph007809; Thu, 5 Apr 2007 18:50:20 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l35MoKuD031218; Thu, 5 Apr 2007 18:50:20 -0400 Received: from free.oliva.athome.lsd.ic.unicamp.br (vpn-14-67.rdu.redhat.com [10.11.14.67]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l35MoJH4001158; Thu, 5 Apr 2007 18:50:19 -0400 Received: from free.oliva.athome.lsd.ic.unicamp.br (localhost.localdomain [127.0.0.1]) by free.oliva.athome.lsd.ic.unicamp.br (8.14.0/8.13.8) with ESMTP id l35MoHv1019308; Thu, 5 Apr 2007 19:50:17 -0300 Received: (from aoliva@localhost) by free.oliva.athome.lsd.ic.unicamp.br (8.14.0/8.13.5/Submit) id l35MoBGs019298; Thu, 5 Apr 2007 19:50:11 -0300 To: Steve Ellcey Cc: libtool@cwilson.fastmail.fm, gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org, Ralf.Wildenhues@gmx.de Subject: Re: Patch to update libtool in GCC and binutils trees References: <46157678.6040607@cup.hp.com> From: Alexandre Oliva Errors-To: aoliva@oliva.athome.lsd.ic.unicamp.br Date: Thu, 05 Apr 2007 22:54:00 -0000 In-Reply-To: <46157678.6040607@cup.hp.com> (Steve Ellcey's message of "Thu\, 05 Apr 2007 15\:21\:44 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00217.txt.bz2 On Apr 5, 2007, Steve Ellcey wrote: > Alexandre Oliva wrote: >> 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. > So how do I override it? It seems to me that adding ${ml_config_env} to the end of the ${ml_recprog} command line in config-ml.in shoudl do it. I.e.: if eval ${ml_config_env} ${ml_config_shell} ${ml_recprog} \ --with-multisubdir=${ml_dir} --with-multisrctop=${multisrctop} \ - ${ac_configure_args} ${ml_srcdiroption} ; then + ${ac_configure_args} ${ml_config_env} ${ml_srcdiroption} ; then I'm not sure I have already thanked you enough (or at all) for undertaking this work. Thank you thank you thank you :-) Cheers, -- 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}