FAQ Search Today's Posts Mark Forums Read

» Linux Archive
Home
New Posts
Search
FAQ


Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 07-24-2008, 01:34 PM
Andrew Price
 
Default 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>
---
gfs2/libgfs2/Makefile | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gfs2/libgfs2/Makefile b/gfs2/libgfs2/Makefile
index 26c69f1..14f7551 100644
--- a/gfs2/libgfs2/Makefile
+++ b/gfs2/libgfs2/Makefile
@@ -30,3 +30,4 @@ 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
--
1.5.6.2
 

Thread Tools




All times are GMT. The time now is 05:13 AM.

VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org