From: Khem Raj Date: Mon, 7 Sep 2015 10:09:37 +0000 (+0000) Subject: sudo: Disable rsize_t deliberately X-Git-Tag: 2015-10~448 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c70d915bcc3054120e7ad06b9bcfef57f2d15371;p=openembedded-core.git sudo: Disable rsize_t deliberately gcc does not have it but clang does, problem happens when host compiler is gcc and cross compiler is clang, because autoconf detects it with clang and slaps it to host compiler as well Signed-off-by: Khem Raj Signed-off-by: Ross Burton --- diff --git a/meta/recipes-extended/sudo/sudo_1.8.14p3.bb b/meta/recipes-extended/sudo/sudo_1.8.14p3.bb index 93b9bb43f6..6b3cd6dbf5 100644 --- a/meta/recipes-extended/sudo/sudo_1.8.14p3.bb +++ b/meta/recipes-extended/sudo/sudo_1.8.14p3.bb @@ -15,6 +15,7 @@ DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" RDEPENDS_${PN} += " ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-limits pam-plugin-keyinit', '', d)}" EXTRA_OECONF += " \ + ac_cv_type_rsize_t=no \ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--enable-tmpfiles.d=${libdir}/tmpfiles.d', '--disable-tmpfiles.d', d)} \ "