[Cluster-devel] [PATCH] Cleanup some common CFLAGS

Fabio Massimo Di Nitto fabbione at ubuntu.com
Mon Aug 27 17:38:37 UTC 2007


Bob Peterson wrote:
> On Sun, 2007-08-26 at 07:35 +0200, Fabio Massimo Di Nitto wrote:
>> The following patch does:
>>
>> - change the default CFLAGS to -Wall -O2 -g
>> - add --debug option to configure that will override the default
>>   CFLAGS to -Wall -O0 -DDEBUG -g
>> - clean up all the relevant Makefiles
>> - add a few missing ; to configure script (almost cosmetic since
>>   perl didn't trip on them).
>>
>> NOTE that some subproject were using -ggdb with notes that had to be removed.
>> This is basically the only "major" change in the set since it will switch to a
>> more common -g. According to gcc 4.1 man page -g is still good enough to
>> generate enough debugging information for gdb.
>>
>> Please ACK or apply.
>>
>> Fabio
>>
>> PS The patch depends on the previous Makefile cleanup I posted on the mailing
>> list right before this one.
> 
> ACK, but I only looked at the defaults and the gfs2 userland bits.
> 
> Regards,
> 
> Bob Peterson
> 

Thanks, I will wait for another ACK before applying this one.

Fabio

-- 
I'm going to make him an offer he can't refuse.




More information about the Cluster-devel mailing list