Re: Unsetting -g -O2

2006-11-29 Thread Alexander Toresson
On 11/29/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: * quoting myself (sorry!): > > With a package that doesn't do the above (or something similar), > make CXXFLAGS=-g > > should work Even simpler, ./configure CXXFLAGS=-g make should (portably) do what you intend. Cheers, Ralf Hell

Re: Unsetting -g -O2

2006-11-29 Thread Ralf Wildenhues
* quoting myself (sorry!): > > With a package that doesn't do the above (or something similar), > make CXXFLAGS=-g > > should work Even simpler, ./configure CXXFLAGS=-g make should (portably) do what you intend. Cheers, Ralf

Re: Unsetting -g -O2

2006-11-29 Thread Ralf Wildenhues
Hello Alexander, * Alexander Toresson wrote on Wed, Nov 29, 2006 at 12:02:01AM CET: > > This leads me to believe that automake adds -g -O2 to AM_CXXFLAGS. No. Autoconf puts code in configure that may add '-g -O2' to $CXXFLAGS (if the compiler accepts it). The configure.ac script of the package

Unsetting -g -O2

2006-11-29 Thread Alexander Toresson
Hello! According to http://www.mail-archive.com/automake@gnu.org/msg12112.html , I should be able to override -g -O2 from the default c++ flags by passing CXXFLAGS to make. However, whatever I do this doesn't seem to work. I've got AM_CXXFLAGS set to contain the flags needed by the libraries my p