From mboxrd@z Thu Jan 1 00:00:00 1970 From: pcaulfield@sourceware.org Date: 3 Jul 2006 12:13:55 -0000 Subject: [Cluster-devel] cluster/cman/cman_tool Makefile Message-ID: <20060703121355.25658.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Changes by: pcaulfield at sourceware.org 2006-07-03 12:13:55 Modified files: cman/cman_tool : Makefile Log message: Don't force unwanted flags on people. honour DEBUG=y Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/Makefile.diff?cvsroot=cluster&r1=1.16&r2=1.17 --- cluster/cman/cman_tool/Makefile 2006/07/03 08:18:15 1.16 +++ cluster/cman/cman_tool/Makefile 2006/07/03 12:13:55 1.17 @@ -15,10 +15,14 @@ include ${top_srcdir}/make/defines.mk -CFLAGS+= -g -I${ccsincdir} -I${incdir} -I${top_srcdir}/config \ +CFLAGS+= -I${ccsincdir} -I${incdir} -I${top_srcdir}/config \ -DCMAN_RELEASE_NAME=\"${RELEASE}\" -I../lib -CFLAGS+=-DDEBUG -fstack-protector -Wp,-D_FORTIFY_SOURCE=2 +ifeq ($(DEBUG),y) +CFLAGS+= -O0 -g -DDEBUG +else +CFLAGS+= -O2 +endif TARGET=cman_tool