From 57d9fcbf818a7256d3b72e055e9ac27ebaf29a9e Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Fri, 21 Feb 2014 21:21:04 +0100 Subject: [PATCH] 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 Signed-off-by: Marc Kleine-Budde --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 7f5c129..c1a3165 100644 --- a/Makefile +++ b/Makefile @@ -47,6 +47,7 @@ CFLAGS = -O2 -Wall -Wno-parentheses \ -fno-strict-aliasing CPPFLAGS += -Iinclude \ + -D_FILE_OFFSET_BITS=64 \ -DSO_RXQ_OVFL=40 \ -DPF_CAN=29 \ -DAF_CAN=PF_CAN -- 2.39.2