[oe] [PATCH] postgresql-8.1.8 : fix configure on x86

Bob Foerster robert at erafx.com
Fri Nov 5 16:06:21 UTC 2010


Without this patch, postgres fails on configure:
| checking alignment of int... configure: error: cannot compute alignment of int, 77
NOTE: package postgresql-8.1.8-r4: task do_configure: Failed

Similar fix for arm was in 5fa3d153.

Signed-off-by: Bob Foerster <robert at erafx.com>
---
 site/ix86-common |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/site/ix86-common b/site/ix86-common
index 5323c7a..8a4a4c3 100644
--- a/site/ix86-common
+++ b/site/ix86-common
@@ -202,6 +202,13 @@ rsync_cv_HAVE_SECURE_MKSTEMP=${rsync_cv_HAVE_SECURE_MKSTEMP=yes}
 rsync_cv_REPLACE_INET_NTOA=${rsync_cv_REPLACE_INET_NTOA=no}
 rsync_cv_REPLACE_INET_ATON=${rsync_cv_REPLACE_INET_ATON=no}
 
+# postgresql
+pgac_cv_alignof_short=2
+pgac_cv_alignof_int=4
+pgac_cv_alignof_long=4
+pgac_cv_alignof_long_long_int=8
+pgac_cv_alignof_double=8
+
 # samba
 samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 
-- 
1.7.0.4





More information about the Openembedded-devel mailing list