-------- Original Message --------
From: Deepak C Shetty (Code Review)
Sent: Thu, Aug 16, 2012 02:51 AM
To:
CC:
Subject: Change in glusterfs[master]: Add support for --enable-debug configure option
Change subject: Add support for --enable-debug configure option
......................................................................
Add support for --enable-debug configure option
Currently default build adds -g -O2 to CFLAGS unconditionally
and there is no way to control them from configure.
This patch adds support for --enable-debug option to the
configure cmdline.
If yes, then only -g is added. If no, then -g -O2 is added.
Build defaults to --enable-debug=no.
Also fixes couple of Makefile.am's which had -g hardcoded.
Change-Id: I7505619be6fc683de463a0bd44ba5500b0bedfe1
Signed-off-by: Deepak C Shetty
---
M configure.ac
M libglusterfs/src/Makefile.am
M rpc/xdr/src/Makefile.am
3 files changed, 19 insertions(+), 2 deletions(-)
git pull ssh://git.gluster.com/glusterfs refs/changes/22/3822/1
--
To view, visit http://review.gluster.com/3822
To unsubscribe, visit http://review.gluster.com/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7505619be6fc683de463a0bd44ba5500b0bedfe1
Gerrit-PatchSet: 1
Gerrit-Project: glusterfs
Gerrit-Branch: master
Gerrit-Owner: Deepak C Shetty
Deepak C Shetty has uploaded a new change for review. Change subject: Add support for --enable-debug configure option ......................................................................
Add support for --enable-debug configure option Currently default build adds -g -O2 to CFLAGS unconditionally and there is no way to control them from configure. This patch adds support for --enable-debug option to the configure cmdline. If yes, then only -g is added. If no, then -g -O2 is added. Build defaults to --enable-debug=no. Also fixes couple of Makefile.am's which had -g hardcoded. Change-Id: I7505619be6fc683de463a0bd44ba5500b0bedfe1 Signed-off-by: Deepak C Shetty <[email protected]> --- M configure.ac M libglusterfs/src/Makefile.am M rpc/xdr/src/Makefile.am 3 files changed, 19 insertions(+), 2 deletions(-) git pull ssh://git.gluster.com/glusterfs refs/changes/22/3822/1 -- To view, visit http://review.gluster.com/3822 To unsubscribe, visit http://review.gluster.com/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7505619be6fc683de463a0bd44ba5500b0bedfe1 Gerrit-PatchSet: 1 Gerrit-Project: glusterfs Gerrit-Branch: master Gerrit-Owner: Deepak C Shetty <[email protected]>
_______________________________________________ Gluster-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/gluster-devel
