From 9867caa2b9d0cdf5b9e26d1e72632c2b74522836 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 25 Sep 2009 17:12:06 +0200 Subject: add defines for large file support to standard CFLAGS - this fixes a compiler warning about the redefinition of SIZEOF_OFF_T in the python bindings, because python is compiled with large file support. --- server/configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server') diff --git a/server/configure.ac b/server/configure.ac index 31dd87d83..580dda346 100644 --- a/server/configure.ac +++ b/server/configure.ac @@ -14,6 +14,8 @@ AC_DEFUN([SMB_ENABLE], [echo -n ""]) AC_INIT([sss_daemon], m4_esyscmd([cat ../VERSION |head -n1 | tr -d '\n']), [sssd-devel@lists.fedorahosted.org]) +CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" + AC_CONFIG_SRCDIR([conf_macros.m4]) AC_CONFIG_AUX_DIR([build]) -- cgit