All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] Fix rgmanager -DNO_CCS build
@ 2008-11-10 17:03 Lon Hohberger
  0 siblings, 0 replies; only message in thread
From: Lon Hohberger @ 2008-11-10 17:03 UTC (permalink / raw)
  To: cluster-devel.redhat.com

Rgmanager is being built with -DNO_CCS, which would cause all sorts of
problems.  Some files will be reading from libccs while others would do
things by reading from libxml2 (e.g. -DNO_CCS) directly.  During
configuration, this could cause a number problems.

This patch fixes the build, but as it is alters part of the build
system, I will not commit it.

-- Lon

diff --git a/make/cobj.mk b/make/cobj.mk
index b484f6b..a009927 100644
--- a/make/cobj.mk
+++ b/make/cobj.mk
@@ -7,7 +7,7 @@
 
 # used by rgmanager/src/daemons
 %-noccs.o: $(S)/%.c
-	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
+	$(CC) $(CFLAGS) $(NOCCS_CFLAGS) -c -o $@ $<
 
 # used by fence/agents/xvm
 %-standalone.o: $(S)/%.c
diff --git a/rgmanager/src/daemons/Makefile
b/rgmanager/src/daemons/Makefile
index df07aab..22d55b0 100644
--- a/rgmanager/src/daemons/Makefile
+++ b/rgmanager/src/daemons/Makefile
@@ -53,7 +53,7 @@ CFLAGS += `xml2-config --cflags` -I${readlineincdir}
-I${slangincdir}
 CFLAGS += -I$(S)/../../include
 CFLAGS += -I${incdir}
 
-EXTRA_CFLAGS += -DNO_CCS
+NOCCS_CFLAGS += -DNO_CCS
 
 LDFLAGS += -L../clulib -lclulib
 LDFLAGS += -L${libdir}




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-10 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-10 17:03 [Cluster-devel] [PATCH] Fix rgmanager -DNO_CCS build Lon Hohberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.