From 5ac20e1dbd9a9b355ed295957132920212fce7c5 Mon Sep 17 00:00:00 2001 From: nico Date: Sat, 5 Nov 2011 13:51:54 +0000 Subject: [PATCH] packages/apr-utils: force use of LFS and 64-bit off_t git-svn-id: svn://svn.openwrt.org/openwrt/packages@28764 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/apr-util/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/apr-util/Makefile b/libs/apr-util/Makefile index 80806cc3e..2ed998383 100644 --- a/libs/apr-util/Makefile +++ b/libs/apr-util/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apr-util PKG_VERSION:=1.3.12 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.ibiblio.org/pub/mirrors/apache/apr @@ -32,6 +32,8 @@ define Package/libaprutil endef TARGET_CFLAGS += $(FPIC) +TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE + CONFIGURE_ARGS += \ --with-pgsql=no \ --with-apr="$(STAGING_DIR)/usr/bin/apr-1-config" \