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 --- 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