Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: bc586574bd252be678506cde92629c86b8f17fa8
Parent: 55971844663d6513ddcd0103425070d6583f6a63
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
AuthorDate: Tue May 15 08:55:32 2012 +0200
Committer: Fabio M. Di Nitto <fdinitto(a)redhat.com>
CommitterDate: Tue May 15 08:55:32 2012 +0200
build: add gdb debuging sections to binaries
dlm is very linux specific, might as well use gcc gdb extensions
to make debugging easier.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
---
dlm_controld/Makefile | 2 +-
dlm_tool/Makefile | 2 +-
fence/Makefile | 2 +-
libdlm/Makefile | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile
index 413bf89..d279b0d 100644
--- a/dlm_controld/Makefile
+++ b/dlm_controld/Makefile
@@ -29,7 +29,7 @@ BIN_SOURCE = action.c \
rbtree.c
LIB_SOURCE = lib.c
-BIN_CFLAGS += -D_GNU_SOURCE -O2 -g \
+BIN_CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
-Wall \
-Wformat \
-Wformat-security \
diff --git a/dlm_tool/Makefile b/dlm_tool/Makefile
index 17e16a6..fe43677 100644
--- a/dlm_tool/Makefile
+++ b/dlm_tool/Makefile
@@ -8,7 +8,7 @@ MAN_TARGET = dlm_tool.8
BIN_SOURCE = main.c
-BIN_CFLAGS += -D_GNU_SOURCE -O2 -g \
+BIN_CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
-Wall \
-Wformat \
-Wformat-security \
diff --git a/fence/Makefile b/fence/Makefile
index b10233e..0f1a29c 100644
--- a/fence/Makefile
+++ b/fence/Makefile
@@ -8,7 +8,7 @@ BIN_TARGET = dlm_stonith
BIN_SOURCE = stonith_helper.c
-BIN_CFLAGS += -D_GNU_SOURCE -O2 -g \
+BIN_CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
-Wall \
-Wformat \
-Wformat-security \
diff --git a/libdlm/Makefile b/libdlm/Makefile
index 01b2036..565a600 100644
--- a/libdlm/Makefile
+++ b/libdlm/Makefile
@@ -55,7 +55,7 @@ UDEV_TARGET = 51-dlm.rules
SOURCE = libdlm.c
-CFLAGS += -D_GNU_SOURCE -O2 -g \
+CFLAGS += -D_GNU_SOURCE -O2 -ggdb \
-Wall \
-Wformat \
-Wformat-security \