cluster: RHEL58 - cman: fix building of debuginfo package (enable -g)

Fabio M. Di Nitto fabbione at fedoraproject.org
Mon Oct 17 08:40:58 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=141d1d9241b2ad2cd8865d524a6b38dc069fffd3
Commit:        141d1d9241b2ad2cd8865d524a6b38dc069fffd3
Parent:        f38483b5b484828f78d04e6188f9e10c3b1c6892
Author:        Fabio M. Di Nitto <fdinitto at redhat.com>
AuthorDate:    Mon Oct 17 10:39:57 2011 +0200
Committer:     Fabio M. Di Nitto <fdinitto at redhat.com>
CommitterDate: Mon Oct 17 10:39:57 2011 +0200

cman: fix building of debuginfo package (enable -g)

Resolves: rhbz#746599

Signed-off-by: Fabio M. Di Nitto <fdinitto at redhat.com>
---
 cman/daemon/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/daemon/Makefile b/cman/daemon/Makefile
index 3e6f1f7..de233b0 100644
--- a/cman/daemon/Makefile
+++ b/cman/daemon/Makefile
@@ -21,7 +21,7 @@ CFLAGS+= -fPIC -I${ccsincdir} -I${incdir} -I${top_srcdir}/config \
 ifeq ($(DEBUG),y)
 CFLAGS+= -O0 -g -DDEBUG
 else
-CFLAGS+= -O2
+CFLAGS+= -O2 -g
 endif
 
 TARGET=service_cman.lcrso


More information about the cluster-commits mailing list