summaryrefslogtreecommitdiffstats
path: root/meta/site
diff options
context:
space:
mode:
authorValentin Popa <valentin.popa@intel.com>2014-03-14 13:12:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-17 14:01:42 +0000
commit331962ffad3aff172c0801c7fee2379715ff9033 (patch)
treea9d818f76dc7bb53dea9a5472bdd1f9480b5c02e /meta/site
parent963374e1c802f622ba44e6910a4333f15a21b25f (diff)
downloadopenembedded-core-contrib-331962ffad3aff172c0801c7fee2379715ff9033.tar.gz
openembedded-core-contrib-331962ffad3aff172c0801c7fee2379715ff9033.tar.bz2
openembedded-core-contrib-331962ffad3aff172c0801c7fee2379715ff9033.zip
mips64-linux: set ac_cv_sizeof_ssize_t
Set ac_cv_sizeof_ssize_t for mips64; mips-common will not overwrite it. "ssize_t is a posix define which is architecture specific whose value is signed size_t, glibc/uclibc for mips64/n64 linux platform defines it to be equivalent of 'long' and long here is 8bytes because mips64/n64 follows LP64 model. In OpenEmbedded our default ABI for mips64 platforms is N64, having said that autoconf decides to poke at the platform for finding these kind of sizes which fails when you are doing cross compiling hence we have to cache it." - Khem Raj [YOCTO #5935] (From OE-Core rev: 7a5b6b968c5adf06982ff0f53871f87aaed41580) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site')
-rw-r--r--meta/site/mips64-linux1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/site/mips64-linux b/meta/site/mips64-linux
index 4449c969da..ed0fbbe653 100644
--- a/meta/site/mips64-linux
+++ b/meta/site/mips64-linux
@@ -35,6 +35,7 @@ glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
ac_cv_alignof_guint32=4
ac_cv_alignof_guint64=8
ac_cv_alignof_unsigned_long=8
+ac_cv_sizeof_ssize_t=8
# libpcap
ac_cv_linux_vers=${ac_cv_linux_vers=2}