packages/apr: force use of LFS and 64-bit off_t
authorNicolas Thill <nico@openwrt.org>
Sat, 5 Nov 2011 13:51:52 +0000 (13:51 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 5 Nov 2011 13:51:52 +0000 (13:51 +0000)
SVN-Revision: 28763

libs/apr/Makefile

index cad13d226e85e6d91b34ea2ec15cd3c50e5970f7..e3e5a65e6954579d314ef2e63a398c605e6a2375 100644 (file)
@@ -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 \