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 xxx_CXXFLAGS. What should I do?
Thanks in advance. - narke