All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix building xfsprogs on 32-bit platforms
@ 2016-11-28 22:42 Eric Biggers
  2016-11-29 20:09 ` Christoph Hellwig
  2016-11-29 21:44 ` Dave Chinner
  0 siblings, 2 replies; 6+ messages in thread
From: Eric Biggers @ 2016-11-28 22:42 UTC (permalink / raw)
  To: linux-xfs; +Cc: Eric Biggers

Since commit 7fda99a0c297 ("xfs.h: require transparent LFS for all
users"), building xfsprogs fails on a 32-bit platform because it does
not define _FILE_OFFSET_BITS=64 itself.  Fix it by adding this to CFLAGS
in builddefs.in.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 include/builddefs.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/builddefs.in b/include/builddefs.in
index aeb2905..5219071 100644
--- a/include/builddefs.in
+++ b/include/builddefs.in
@@ -25,7 +25,7 @@ OPTIMIZER = @opt_build@
 MALLOCLIB = @malloc_lib@
 LOADERFLAGS = @LDFLAGS@
 LTLDFLAGS = @LDFLAGS@
-CFLAGS = @CFLAGS@
+CFLAGS = @CFLAGS@ -D_FILE_OFFSET_BITS=64
 
 LIBRT = @librt@
 LIBUUID = @libuuid@
-- 
2.8.0.rc3.226.g39d4020


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-30 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-28 22:42 [PATCH] Fix building xfsprogs on 32-bit platforms Eric Biggers
2016-11-29 20:09 ` Christoph Hellwig
2016-11-29 21:44 ` Dave Chinner
2016-11-29 22:21   ` Eric Biggers
2016-11-29 23:25     ` Dave Chinner
2016-11-30 19:12       ` Eric Biggers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.