[lug] Automake question: Overriding optimization defaults
Scott A. Herod
herod at interact-tv.com
Wed Feb 27 12:01:15 MST 2002
Hello,
I'm using the autoconf/automake utilities for generating makefiles
but I can't figure out how to override the default debug and
optimization
flags. Right now I'm getting "-g -O2". I'm setting AM_CXXFLAGS but
that doesn't override the default ( which seems to be set in
/usr/share/autoconf/acspecific.mf ). Is there something else that I
should use?
O2 makes for some nice optimization but it makes debugging harder.
Thanks,
Scott
More information about the LUG
mailing list