From f706761ce5d92aa05f0ab0567bbe82f86e940c33 Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 5 Nov 2011 13:51:52 +0000 Subject: [PATCH] packages/apr: force use of LFS and 64-bit off_t git-svn-id: svn://svn.openwrt.org/openwrt/packages@28763 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/apr/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/apr/Makefile b/libs/apr/Makefile index cad13d226..e3e5a65e6 100644 --- a/libs/apr/Makefile +++ b/libs/apr/Makefile @@ -31,6 +31,8 @@ define Package/libapr endef TARGET_CFLAGS += $(FPIC) +TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE + CONFIGURE_ARGS += \ --with-devrandom=/dev/urandom \ --disable-dso \