[Cluster-devel] [PATCH] Cleanup some common CFLAGS
Bob Peterson
rpeterso at redhat.com
Mon Aug 27 15:45:40 UTC 2007
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
More information about the Cluster-devel
mailing list