aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBob Foerster <robert@erafx.com>2010-11-05 06:06:21 +0000
committerKhem Raj <raj.khem@gmail.com>2010-11-06 08:53:03 -0700
commitd8eee50f8c1bc4f3d40bd3d8f6b18c1c68b5cdd5 (patch)
tree3be65c7126d32d2570b1fbdc0361547517bc9ebd
parent5142b50dab9731fb0c508f8e24666865e2b84e4c (diff)
downloadopenembedded-d8eee50f8c1bc4f3d40bd3d8f6b18c1c68b5cdd5.tar.gz
openembedded-d8eee50f8c1bc4f3d40bd3d8f6b18c1c68b5cdd5.tar.bz2
openembedded-d8eee50f8c1bc4f3d40bd3d8f6b18c1c68b5cdd5.zip
postgresql-8.1.8 : fix configure on x86
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@erafx.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--site/ix86-common7
1 files changed, 7 insertions, 0 deletions
diff --git a/site/ix86-common b/site/ix86-common
index 5323c7af7c..8a4a4c3ef3 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}