aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-09-07 10:09:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-12 22:47:18 +0100
commitc70d915bcc3054120e7ad06b9bcfef57f2d15371 (patch)
tree38998e9e15e0261a27a93dd9c5fdf69997189c92
parentcb92ac5389ed3cecf13158a0150e211b5392aba7 (diff)
downloadopenembedded-core-contrib-c70d915bcc3054120e7ad06b9bcfef57f2d15371.tar.gz
openembedded-core-contrib-c70d915bcc3054120e7ad06b9bcfef57f2d15371.tar.bz2
openembedded-core-contrib-c70d915bcc3054120e7ad06b9bcfef57f2d15371.zip
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@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/sudo/sudo_1.8.14p3.bb1
1 files changed, 1 insertions, 0 deletions
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)} \
"