summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-04-28 22:34:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-30 23:01:27 +0100
commit3c58712465494e441c4036a7cf21d2e6d343efab (patch)
tree404d6d075a97eb34f73e56254ca64ebbb4f8f950
parent156d8fecf31a7a9dc257e55e25645c561d5ba0b8 (diff)
downloadopenembedded-core-3c58712465494e441c4036a7cf21d2e6d343efab.tar.gz
openembedded-core-3c58712465494e441c4036a7cf21d2e6d343efab.tar.bz2
openembedded-core-3c58712465494e441c4036a7cf21d2e6d343efab.zip
curl: Fix wrong assumption about sizeof off_t on largefile systems
This issue was reported on poky ml as well see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html Change-Id: Iedf22467889893111fde0433e411fd0546a38546 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/curl/curl_7.42.0.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl_7.42.0.bb b/meta/recipes-support/curl/curl_7.42.0.bb
index d4445ff8d4..228bdb23af 100644
--- a/meta/recipes-support/curl/curl_7.42.0.bb
+++ b/meta/recipes-support/curl/curl_7.42.0.bb
@@ -37,6 +37,9 @@ EXTRA_OECONF = "--without-libidn \
--disable-ldaps \
--with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
"
+# see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
+# We should ideally drop ac_cv_sizeof_off_t from site files but until then
+EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
do_install_append() {
oe_multilib_header curl/curlbuild.h