summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>2013-06-01 14:24:19 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-22 23:19:42 +0100
commit51cf0d5a5def5416e64bf5fd44d2189c14df0766 (patch)
tree14da6731ce791d9ea008841feda30676b08d7cf5
parentc3505828f267ca68aaf454355466f54772545a22 (diff)
downloadpoky-51cf0d5a5def5416e64bf5fd44d2189c14df0766.tar.gz
site/common: deactivate a python cross-compilation runtime check
In configure there is a runtime check to determine buggy getaddrinfo and as we are cross-compiling this check goes wrong. If ipv6 is enabled in python, the failed test is reported as fatal error with the message Fatal: You must get working getaddrinfo() function. Setting ac_cv_buggy_getaddrinfo=no deactivates the runtime check and allows to compile python with ipv6 enabled. This commit was cherry-picked from commit 66db85262bef08802af30964b415bff349cfba69 into the danny branch. The original commit was in turn derived from the commit 700b75e7661062aa93cf81205b78c8bf7609922d in the Classic OpenEmbedded Development Tree. Fixes: bug #4557 (From OE-Core rev: 0421102cbd78c2e8fe9a027d747be39882ebf20d) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Dimas Abreu Dutra <dimasadutra@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/site/common2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/site/common b/meta/site/common
index 5da3ff41de..1214a13515 100644
--- a/meta/site/common
+++ b/meta/site/common
@@ -15,3 +15,5 @@ shadow_cv_utmpdir=${localstatedir}/run
15shadow_cv_logdir=${localstatedir}/log 15shadow_cv_logdir=${localstatedir}/log
16shadow_cv_passwd_dir=${bindir} 16shadow_cv_passwd_dir=${bindir}
17 17
18# python: deactivate a runtime check for ipv6-support in python >=2.7.1 that fails when cross-compiling
19ac_cv_buggy_getaddrinfo=no