[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Disabling optimization
From: |
Andrew Suffield |
Subject: |
Re: Disabling optimization |
Date: |
Thu, 18 Nov 2004 20:57:46 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
On Thu, Nov 18, 2004 at 01:42:39PM +0100, Ralf Corsepius wrote:
> On Thu, 2004-11-18 at 11:56 +0000, Andrew Suffield wrote:
> > On Thu, Nov 18, 2004 at 12:41:37PM +0100, Ralf Corsepius wrote:
> > > On Thu, 2004-11-18 at 11:55 +0100, Andreas Schwab wrote:
> > > > Stepan Kasal <address@hidden> writes:
> > > >
> > > > > out of curiosity, what would be wrong with the following?
> > > > >
> > > > > if test -n "${CXXFLAGS}"; then
> > > > > CXXFLAGS="-g"
> > > > > fi
> > > > > AC_PROG_CXX
> > > >
> > > > I think you got it backwards. This makes it impossible to override
> > > > CXXFLAGS.
> > >
> > > Isn't the snippet below sufficient?
> > > CXXFLAGS=${CXXFLAGS--g}
> > > AC_PROG_CXX
> >
> > What you're all trying to say is this:
> >
> > CXXFLAGS="-g -O0 ${CXXFLAGS}"
> Nope, this prevents overriding CXXFLAGS from the environment.
It does not. I do it all the time.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature
- Disabling optimization, Jonathan, 2004/11/17
- Re: Disabling optimization, Andre Caldas, 2004/11/17
- Re: Disabling optimization, Braden McDaniel, 2004/11/17
- Re: Disabling optimization, Stepan Kasal, 2004/11/18
- Re: Disabling optimization, Andreas Schwab, 2004/11/18
- Re: Disabling optimization, Ralf Corsepius, 2004/11/18
- Re: Disabling optimization, Andrew Suffield, 2004/11/18
- Re: Disabling optimization, Ralf Corsepius, 2004/11/18
- Re: Disabling optimization,
Andrew Suffield <=
- Re: Disabling optimization, Bob Friesenhahn, 2004/11/18
- Re: Disabling optimization, Andrew Suffield, 2004/11/18
- Re: Disabling optimization, Bob Friesenhahn, 2004/11/18
- Re: Disabling optimization, Thomas 'Tom' R. Treadway III, 2004/11/18
- Re: Disabling optimization, Andreas Schwab, 2004/11/18
- Re: Disabling optimization, Bob Proulx, 2004/11/19
- Re: Disabling optimization, Andrew Suffield, 2004/11/19
- Re: Disabling optimization, Thomas Dickey, 2004/11/19
- Re: Disabling optimization, Andrew Suffield, 2004/11/19
- Re: Disabling optimization, Thomas Dickey, 2004/11/19