]> code.ossystems Code Review - openembedded-core.git/commit
mips64-linux: set ac_cv_sizeof_ssize_t
authorValentin Popa <valentin.popa@intel.com>
Fri, 14 Mar 2014 11:12:25 +0000 (13:12 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2014 14:01:07 +0000 (14:01 +0000)
commit7a5b6b968c5adf06982ff0f53871f87aaed41580
treee2d004b109e672dcef39eae2624a37aaf93f7aa6
parent841565db49b113da0eec3bfbad934c36bf28ee4b
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]

Signed-off-by: Valentin Popa <valentin.popa@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/site/mips64-linux