"Daniel Kraft" <[EMAIL PROTECTED]> writes:

> Using automake the default compiler flags seem to be -g -O2; but most of the
> time I don't need debug code

You'll need it most when you don't have it.

> so I want to disable that -g - option.

./configure CFLAGS=-O2

> And it is possible to do something similiar to the alternative compiling
> described above - i.e. to have a simple way for switching opt/debug mode, 
> maybe
> without having to reconfigure?

make CFLAGS=-O2

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to