aboutsummaryrefslogtreecommitdiffstats
path: root/meta/site
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-06-30 22:11:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-02 16:42:23 +0100
commit81eb71736a4d14abe85d810f9862d8a9421e9ef5 (patch)
tree110912bb3b2aff7b02eadcb42b99b9f63e2585c8 /meta/site
parentb880cebf503ca13cd4fcb741895e57e6353065be (diff)
downloadopenembedded-core-contrib-81eb71736a4d14abe85d810f9862d8a9421e9ef5.tar.gz
openembedded-core-contrib-81eb71736a4d14abe85d810f9862d8a9421e9ef5.tar.bz2
openembedded-core-contrib-81eb71736a4d14abe85d810f9862d8a9421e9ef5.zip
site/common-linux: fix incorrect size of pid_t for apr
If cross-compiling, apr's configure script assumes that pid_t is 64-bit which is wrong - it appears that 32-bit is a safe assumption for Linux no matter what the architecture, so use that instead by default. This fixes Apache writing garbage to its pid file when built using apr produced from this recipe. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site')
-rw-r--r--meta/site/common-linux1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/site/common-linux b/meta/site/common-linux
index f441abb73a..8a9146eace 100644
--- a/meta/site/common-linux
+++ b/meta/site/common-linux
@@ -1,5 +1,6 @@
# apr
ac_cv_file__dev_zero=${ac_cv_file__dev_zero=yes}
+ac_cv_sizeof_pid_t=${ac_cv_sizeof_pid_t=4}
# samba
samba_cv_HAVE_IFACE_AIX=${samba_cv_HAVE_IFACE_AIX=no}