From 8a39e5e67bc9a93cadb6c13f25c7ccd57421af6b Mon Sep 17 00:00:00 2001 From: Ira Cooper Date: Thu, 31 Mar 2016 12:30:45 -0400 Subject: [PATCH] configure: Add -D_LARGEFILE64_SOURCE to Linux build. Fixes: http://tracker.ceph.com/issues/16612 Without -D_LARGEFILE64_SOURCE we can't build against libxfs, because off64_t must be defined. Signed-off-by: Ira Cooper (cherry picked from commit 602425a) --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 67ed08db5d2..27a6837df7a 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,7 @@ darwin*) ;; linux*) linux="yes" + CFLAGS="-D_LARGEFILE64_SOURCE ${CFLAGS}" ;; freebsd*) freebsd="yes" -- 2.47.3