site/x32-linux: Specify double alignment

Submitted by Richard Purdie on Feb. 13, 2013, 12:16 a.m.

Details

Message ID 1360714600.11225.19.camel@ted
State Accepted
Commit 4c548f17b0e03ca0d7e78a11c5f0df3fd92d6d71
Headers show

Commit Message

Richard Purdie Feb. 13, 2013, 12:16 a.m.
Double alignment is 8 bytes on x32 but it is defaulting to 4 currently.
This leads to various issues and fontconfig fails to build due to the
mismatch triggering assert failures.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Patch hide | download patch | download mbox

diff --git a/meta/site/x32-linux b/meta/site/x32-linux
index 7ce6551..36ee68b 100644
--- a/meta/site/x32-linux
+++ b/meta/site/x32-linux
@@ -4,6 +4,7 @@  ac_cv_sizeof_off_t=${ac_cv_sizeof_off_t=8}
 ac_cv_sizeof_ino_t=${ac_cv_sizeof_ino_t=8}
 ac_cv_sizeof_dev_t=${ac_cv_sizeof_dev_t=8}
 ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64}
+ac_cv_alignof_double=8
 
 # glib
 glib_cv_sizeof_gmutex=${glib_cv_sizeof_gmutex=32}