Re: Why I can not overwrite CXXFLAGS values?

2008-06-07 Thread Ralf Wildenhues
Hello Steven, * Steven Woody wrote on Fri, Jun 06, 2008 at 08:54:59PM CEST: In my system, the default CXXFLAGS is '-g -O2'. But, for a particular program, I need -O0 and without -g. I tried something like: bin_PROGRAS = xxx xxx_CXXFLAGS = -O0 in Makefile.am. But, the final CXXFLAGS

Re: Why I can not overwrite CXXFLAGS values?

2008-06-07 Thread Steven Woody
On Sat, Jun 7, 2008 at 3:38 PM, Ralf Wildenhues [EMAIL PROTECTED] wrote: Hello Steven, * Steven Woody wrote on Fri, Jun 06, 2008 at 08:54:59PM CEST: In my system, the default CXXFLAGS is '-g -O2'. But, for a particular program, I need -O0 and without -g. I tried something like:

Why I can not overwrite CXXFLAGS values?

2008-06-06 Thread Steven Woody
In my system, the default CXXFLAGS is '-g -O2'. But, for a particular program, I need -O0 and without -g. I tried something like: bin_PROGRAS = xxx xxx_CXXFLAGS = -O0 in Makefile.am. But, the final CXXFLAGS used when I compile is actually -O0 -g -O2, the default CXXFLAGS appended to my