Patchwork [4/4] site/ix86-common, site/x86_64-linux: alignment values for guin32, guin64 and unsigned long

login
register
mail settings
Submitter Martin Jansa
Date May 2, 2012, 2:32 p.m.
Message ID <ebc0c97cd803f441abd0691bf5d5609b6a9f5261.1335969047.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/26829/
State Accepted
Commit bb996003547f9b93b734ddac11407b4eb42ecfac
Headers show

Comments

Martin Jansa - May 2, 2012, 2:32 p.m.
These are required to build recent versions of glib-2.0

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/site/ix86-common  |    3 +++
 meta/site/x86_64-linux |    3 +++
 2 files changed, 6 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/site/ix86-common b/meta/site/ix86-common
index a625f8e..20cac75 100644
--- a/meta/site/ix86-common
+++ b/meta/site/ix86-common
@@ -97,6 +97,9 @@  glib_cv_rtldglobal_broken=${glib_cv_rtldglobal_broken=yes}
 glib_cv_stack_grows=${glib_cv_stack_grows=no}
 utils_cv_sys_open_max=${utils_cv_sys_open_max=1015}
 glib_cv_use_pid_surrogate=${glib_cv_use_pid_surrogate=yes}
+ac_cv_alignof_guint32=4
+ac_cv_alignof_guint64=4
+ac_cv_alignof_unsigned_long=4
 
 # guile
 ac_cv_uchar=${ac_cv_uchar=no}
diff --git a/meta/site/x86_64-linux b/meta/site/x86_64-linux
index a0a9362..3acc294 100644
--- a/meta/site/x86_64-linux
+++ b/meta/site/x86_64-linux
@@ -52,6 +52,9 @@  glib_cv_sys_pthread_getspecific_posix=${glib_cv_sys_pthread_getspecific_posix=ye
 glib_cv_sys_pthread_mutex_trylock_posix=${glib_cv_sys_pthread_mutex_trylock_posix=yes}
 glib_cv_uscore=${glib_cv_uscore=no}
 glib_cv_va_val_copy=${glib_cv_va_val_copy=no}
+ac_cv_alignof_guint32=4
+ac_cv_alignof_guint64=8
+ac_cv_alignof_unsigned_long=8
 
 nano_cv_func_regexec_segv_emptystr=${nano_cv_func_regexec_segv_emptystr=no}
 samba_cv_HAVE_VA_COPY=${samba_cv_HAVE_VA_COPY=yes}