diff options
author | Martin Pitt <martinpitt@gnome.org> | 2012-09-07 17:06:51 +0200 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2012-09-07 17:09:57 +0200 |
commit | 020502d99d53b2a0d06df5c0764a10bf105827e2 (patch) | |
tree | 0cda2ac5de64a4e42075b50451260d6a87938eeb | |
parent | df220ca6eee1df665ab80cfafc515afde2075fbb (diff) |
Enable large file support
Without this, on 32 bit platforms you get a warning and syslog entry like
[WARNING]: Error statting /swapfile: Value too large for defined data type [udisksmountmonitor.c:554, udisks_mount_monitor_get_swaps()]
when you have a /swapfile which is bigger than 2 GB.
https://launchpad.net/bugs/1039022
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 15f2a2f..1d91fe2 100644 --- a/configure.ac +++ b/configure.ac @@ -88,6 +88,8 @@ CC_CHECK_CFLAGS_APPEND([ \ -ffunction-sections \ -fno-common \ -fno-strict-aliasing \ + -D_LARGEFILE64_SOURCE \ + -D_FILE_OFFSET_BITS=64 \ ]) AC_PATH_PROG([XSLTPROC], [xsltproc]) |