Blob Blame History Raw
commit 5e4fe097ac39ceb8e6768da98cd1e84ff99b8176
Author: Andrew Price <anprice@redhat.com>
Date:   Tue Nov 12 16:38:34 2013 +0000

    gfs2l: Build with -D_FILE_OFFSET_BITS=64
    
    The latest test cases were failing on 32-bit architectures as gfs2l
    wasn't being built with large file support. This adds
    -D_FILE_OFFSET_BITS=64 to fix the tests.
    
    Resolves: bz#1028388
    
    Signed-off-by: Andrew Price <anprice@redhat.com>

diff --git a/gfs2/libgfs2/Makefile.am b/gfs2/libgfs2/Makefile.am
index b57f6d9..c5cb288 100644
--- a/gfs2/libgfs2/Makefile.am
+++ b/gfs2/libgfs2/Makefile.am
@@ -22,7 +22,7 @@ libgfs2_la_CPPFLAGS	= -D_FILE_OFFSET_BITS=64 \
 			  -I$(top_srcdir)/gfs2/include
 
 gfs2l_SOURCES		= gfs2l.c
-gfs2l_CPPFLAGS		= -I$(top_srcdir)/gfs2/include
+gfs2l_CPPFLAGS		= -I$(top_srcdir)/gfs2/include -D_FILE_OFFSET_BITS=64
 gfs2l_LDADD		= libgfs2.la
 
 # Autotools can't handle header files output by flex so we have to generate it manually