Nope, this prevents overriding CXXFLAGS from the environment.What you're all trying to say is this:
CXXFLAGS="-g -O0 ${CXXFLAGS}"
It does not. I do it all the time.
How does the user portably remove/override the -g and -O0 options? It seems that you are depending on the user's compiler to support a way to subtract from existing options. You are also expecting that the user's compiler supports -O0 and doesn't simply exit.
Bob ====================================== Bob Friesenhahn [EMAIL PROTECTED] http://www.simplesystems.org/users/bfriesen