packages/apr-utils: force use of LFS and 64-bit off_t
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Nov 2011 13:51:54 +0000 (13:51 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 5 Nov 2011 13:51:54 +0000 (13:51 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28764 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/apr-util/Makefile

index 80806cc..2ed9983 100644 (file)
@@ -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" \