This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

STABLE2 - [GFS2] libgfs2: Build with -fPIC


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f15900037e0cdc433fd29009ca1026a2b0ee26f6
Commit:        f15900037e0cdc433fd29009ca1026a2b0ee26f6
Parent:        897627c5e22ba9f78a22cd213d02acb1fa7b68f4
Author:        Andrew Price <andy@andrewprice.me.uk>
AuthorDate:    Thu Jul 24 19:09:36 2008 +0200
Committer:     Andrew Price <andy@andrewprice.me.uk>
CommitterDate: Fri Sep 26 15:42:39 2008 +0100

[GFS2] libgfs2: Build with -fPIC

Build libgfs2 with -fPIC to enable linking on x86_64 and others.

Signed-off-by: Andrew Price <andy@andrewprice.me.uk>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 gfs2/libgfs2/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gfs2/libgfs2/Makefile b/gfs2/libgfs2/Makefile
index de0d1a2..0ce1641 100644
--- a/gfs2/libgfs2/Makefile
+++ b/gfs2/libgfs2/Makefile
@@ -12,6 +12,7 @@ CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
 CFLAGS += -I${KERNEL_SRC}/fs/gfs2/ -I${KERNEL_SRC}/include/
 CFLAGS += -I$(S)/../include
 CFLAGS += -I${incdir}
+CFLAGS += -fPIC
 
 OBJS=	bitmap.o \
 	block_list.o \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]