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

libs/apr-util/Makefile

index 80806cc3e721fa57717eab128e321c3652b2bcba..2ed99838363ef369cbf900692198730fab3d6fdb 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" \