[OpenAFS-devel] debug/optimize flags in Makefiles...

Derrick J Brashear shadow@dementia.org
Wed, 24 Oct 2001 12:53:56 -0400 (EDT)


On Wed, 24 Oct 2001, Neulinger, Nathan wrote:

> I was consdering getting all the makefiles to consistently have variables
> available for debug and optimize flags. Do y'all think that having ${DEBUG}
> on all compile lines (or CFLAGS= lines), and ${OPT} on all lines where it
> should potentially optimize. (I.e. skip those few cases in lwp where
> optimization is specifically turned off.) and then let those vars be set in
> the Makefile.`sys` file as needed?

It would be useful to make this consistent but care needs to be taken for
compilers which are embittered when both -g and -O are provided.

-D