X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libs%2Fapr%2FMakefile;h=e3e5a65e6954579d314ef2e63a398c605e6a2375;hb=c7eb8fb48f7482692e0d57615f1185bd298a7665;hp=91776bde538f4aadef37be63dbfae3b8a56a0e0c;hpb=24b0c37989e559aa5b6c06f4b0dcff495e17844e;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/libs/apr/Makefile b/libs/apr/Makefile index 91776bde53..e3e5a65e69 100644 --- a/libs/apr/Makefile +++ b/libs/apr/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=apr PKG_VERSION:=1.4.5 -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 @@ -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 \ @@ -39,10 +41,11 @@ CONFIGURE_ARGS += \ # XXX: ac_cv_sizeof_struct_iovec=1 is just to trick configure CONFIGURE_VARS += \ ac_cv_sizeof_struct_iovec=1 \ + ac_cv_struct_rlimit=yes \ apr_cv_process_shared_works=no \ apr_cv_mutex_robust_shared=no \ apr_cv_tcp_nodelay_with_cork=yes \ - ac_cv_struct_rlimit=yes \ + apr_cv_use_lfs64=yes \ LDFLAGS="$$$$LDFLAGS -lpthread" \ define Build/InstallDev