diff options
Diffstat (limited to 'package/Makefile.in')
-rw-r--r-- | package/Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/Makefile.in b/package/Makefile.in index 86df3f2e6..431ca8e78 100644 --- a/package/Makefile.in +++ b/package/Makefile.in @@ -80,6 +80,10 @@ ifeq ($(findstring yy,$(BR2_mips)$(BR2_MIPS_ABI64)),yy) TARGET_CFLAGS+=-fno-pic -mno-abicalls endif +ifeq ($(BR2_LARGEFILE),y) +TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +endif + TARGET_CXXFLAGS=$(TARGET_CFLAGS) # else it's an external toolchain |