cluster/cman/cman_tool Makefile
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
cman/cman_tool/Makefile +6 -2
@@ -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