Default CFLAGS clobbering

Simon Hausmann hausmann at
Sat May 22 17:43:33 BST 2004

On Saturday 22 May 2004 18:28, Michael Nottebrock wrote:
> On Saturday 22 May 2004 17:17, Simon Hausmann wrote:
> > This is autoconf's default when using gcc (per c.m4) , so the whole pool
> > of autoconf'ed software out there behaves that way.
> Uhm, you must be reading it wrong. AC_PROG_CC generates a check that sets
> -g -O2 if CFLAGS is not specified _at all_ (and gcc is used), if CFLAGS are
> specified it uses them verbatim without any additions.

True, I misread that. But then we should behave like that, too, and not simply 
get rid of the -O2 in the default CFLAGS as suggested originally.

In the end it's up to Stephan/Dirk though :)


More information about the kde-core-devel mailing list