diff options
| author | Roy Marples <roy@marples.name> | 2015-03-12 15:57:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-03-12 15:57:42 +0000 |
| commit | f433c2f6cfb88ffb6770ecc9ae0ade4126a7a26d (patch) | |
| tree | c0a6a4f744182b399878b622a0cb9e4995722fea /configure | |
| parent | 2c8889dcf60359ccc00304052ec19f4a74aada2d (diff) | |
| download | dhcpcd-f433c2f6cfb88ffb6770ecc9ae0ade4126a7a26d.tar.xz | |
Turn on Large File Support for Linux systems.
Fixes [6ae09d0514] thanks to Mike Frysinger.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -367,6 +367,11 @@ kfreebsd*) ;; linux*) echo "CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700" >>$CONFIG_MK + # Large File Support, should be fine for 32-bit systems. + # But if this is the case, why is it not set by default? + echo "CPPFLAGS+= -D_FILE_OFFSET_BITS=64" >>$CONFIG_MK + echo "CPPFLAGS+= -D_LARGEFILE_SOURCE" >>$CONFIG_MK + echo "CPPFLAGS+= -D_LARGEFILE64_SOURCE" >>$CONFIG_MK # glibc-2.20 echo "CPPFLAGS+= -D_DEFAULT_SOURCE" >>$CONFIG_MK echo "DHCPCD_SRCS+= if-linux.c" >>$CONFIG_MK |
