Makefile: add large file support (LFS)

Large file support (LFS) in recent C libraries allows 32 bit applications to
create large files with file length values > 0x7FFFFFFF when the filesystem
supports it.

This patch adds large file support to the Makefile, if you don't want LFS use
the autotools version and call configure like this:

    ./configure --disable-largefile

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
pull/1/head
Oliver Hartkopp 2014-02-21 21:21:04 +01:00 committed by Marc Kleine-Budde
parent 733192a3d0
commit 57d9fcbf81
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ CFLAGS = -O2 -Wall -Wno-parentheses \
-fno-strict-aliasing -fno-strict-aliasing
CPPFLAGS += -Iinclude \ CPPFLAGS += -Iinclude \
-D_FILE_OFFSET_BITS=64 \
-DSO_RXQ_OVFL=40 \ -DSO_RXQ_OVFL=40 \
-DPF_CAN=29 \ -DPF_CAN=29 \
-DAF_CAN=PF_CAN -DAF_CAN=PF_CAN