From d4ae5b0f197288fafe884046ba9d9cd1c9c556b0 Mon Sep 17 00:00:00 2001 From: Lon Hohberger <lhh@redhat.com> Date: Wed, 21 Apr 2010 11:35:28 -0400 Subject: [PATCH] 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@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 -- 1.6.2.5