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
|