From: Ira Cooper Date: Thu, 31 Mar 2016 16:30:45 +0000 (-0400) Subject: configure: Add -D_LARGEFILE64_SOURCE to Linux build. X-Git-Tag: v10.1.1~17^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F8402%2Fhead;p=ceph.git configure: Add -D_LARGEFILE64_SOURCE to Linux build. Without -D_LARGEFILE64_SOURCE we can't build against libxfs, because off64_t must be defined. Signed-off-by: Ira Cooper --- diff --git a/configure.ac b/configure.ac index 48a7fc2bf60b..610c40b4615e 100644 --- a/configure.ac +++ b/configure.ac @@ -63,6 +63,7 @@ darwin*) ;; linux*) linux="yes" + CFLAGS="-D_LARGEFILE64_SOURCE ${CFLAGS}" ;; freebsd*) freebsd="yes"