Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: d4ae5b0f197288fafe884046ba9d9cd1c9c556b0
Parent: c57d8c5a6b3ba804a0d3242fdbd9daeb9476b58d
Author: Lon Hohberger <lhh(a)redhat.com>
AuthorDate: Wed Apr 21 11:35:28 2010 -0400
Committer: Lon Hohberger <lhh(a)redhat.com>
CommitterDate: Wed Apr 21 11:35:28 2010 -0400
fence-agents: Work around bad nss/nspr prototypes
This patch allows fence_xvm[d] to compile with
nss/nspr installations which have bad prototypes.
Resolves: bz#575157
Signed-off-by: Lon Hohberger <lhh(a)redhat.com>
---
fence/agents/xvm/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fence/agents/xvm/Makefile b/fence/agents/xvm/Makefile
index 4118e34..a8c8b56 100644
--- a/fence/agents/xvm/Makefile
+++ b/fence/agents/xvm/Makefile
@@ -28,7 +28,7 @@ INCLUDE=-I${top_srcdir}/include -I${top_srcdir}/config \
-I../../../cman/lib -I../../../ccs/lib -I/usr/include/libxml2
CFLAGS+=-DFENCE_RELEASE_NAME=\"${RELEASE}\" \
- -Wall -Werror -Wstrict-prototypes -Wshadow -ggdb -D_GNU_SOURCE
+ -Wall -Wstrict-prototypes -Wshadow -ggdb -D_GNU_SOURCE
LIBS+=-L../../../cman/lib -L../../../ccs/lib -L${libdir}/openais \
-L../../../dlm/lib -lnss3 -lxml2