Blame SOURCES/bz1028388-3-gfs2l_Build_with_D_FILE_OFFSET_BITS_64.patch

903fa7
commit 5e4fe097ac39ceb8e6768da98cd1e84ff99b8176
903fa7
Author: Andrew Price <anprice@redhat.com>
903fa7
Date:   Tue Nov 12 16:38:34 2013 +0000
903fa7
903fa7
    gfs2l: Build with -D_FILE_OFFSET_BITS=64
903fa7
    
903fa7
    The latest test cases were failing on 32-bit architectures as gfs2l
903fa7
    wasn't being built with large file support. This adds
903fa7
    -D_FILE_OFFSET_BITS=64 to fix the tests.
903fa7
    
903fa7
    Resolves: bz#1028388
903fa7
    
903fa7
    Signed-off-by: Andrew Price <anprice@redhat.com>
903fa7
903fa7
diff --git a/gfs2/libgfs2/Makefile.am b/gfs2/libgfs2/Makefile.am
903fa7
index b57f6d9..c5cb288 100644
903fa7
--- a/gfs2/libgfs2/Makefile.am
903fa7
+++ b/gfs2/libgfs2/Makefile.am
903fa7
@@ -22,7 +22,7 @@ libgfs2_la_CPPFLAGS	= -D_FILE_OFFSET_BITS=64 \
903fa7
 			  -I$(top_srcdir)/gfs2/include
903fa7
 
903fa7
 gfs2l_SOURCES		= gfs2l.c
903fa7
-gfs2l_CPPFLAGS		= -I$(top_srcdir)/gfs2/include
903fa7
+gfs2l_CPPFLAGS		= -I$(top_srcdir)/gfs2/include -D_FILE_OFFSET_BITS=64
903fa7
 gfs2l_LDADD		= libgfs2.la
903fa7
 
903fa7
 # Autotools can't handle header files output by flex so we have to generate it manually