From: Lon Hohberger <lhh@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [PATCH] Fix rgmanager -DNO_CCS build
Date: Mon, 10 Nov 2008 12:03:03 -0500 [thread overview]
Message-ID: <1226336583.16686.12.camel@ayanami> (raw)
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}
reply other threads:[~2008-11-10 17:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1226336583.16686.12.camel@ayanami \
--to=lhh@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).