[oe-commits] Khem Raj : sudo: Disable rsize_t deliberately

git at git.openembedded.org git at git.openembedded.org
Sat Sep 12 21:51:41 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: c70d915bcc3054120e7ad06b9bcfef57f2d15371
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c70d915bcc3054120e7ad06b9bcfef57f2d15371

Author: Khem Raj <raj.khem at gmail.com>
Date:   Mon Sep  7 10:09:37 2015 +0000

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 <raj.khem at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-extended/sudo/sudo_1.8.14p3.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-extended/sudo/sudo_1.8.14p3.bb b/meta/recipes-extended/sudo/sudo_1.8.14p3.bb
index 93b9bb4..6b3cd6d 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)} \
              "



More information about the Openembedded-commits mailing list