[oe-commits] Khem Raj : sudo: Disable rsize_t deliberately
git at git.openembedded.org
git at git.openembedded.org
Wed Sep 9 21:58:30 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 99d93638915f66f18c2d916086c89feec73287d3
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=99d93638915f66f18c2d916086c89feec73287d3
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