summaryrefslogtreecommitdiffstats
path: root/meta/site
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>2013-01-09 08:20:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-09 15:05:26 +0000
commit66db85262bef08802af30964b415bff349cfba69 (patch)
treed78757199fe8903ef353d43a79a492ba712b962f /meta/site
parent6f5d6e2e0fa7a2a0e52a22bb6fc407ca37c329d1 (diff)
downloadast2050-yocto-poky-66db85262bef08802af30964b415bff349cfba69.zip
ast2050-yocto-poky-66db85262bef08802af30964b415bff349cfba69.tar.gz
site/common: deactivate a runtime check for ipv6-support in python >=2.7.1 that fails when cross-compiling
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 derived from the commit 700b75e7661062aa93cf81205b78c8bf7609922d in the Classic OpenEmbedded Development Tree. (From OE-Core rev: 95cc8015a867235bed6d6cde08ab87f5351a66c7) Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site')
-rw-r--r--meta/site/common2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/site/common b/meta/site/common
index 5da3ff4..1214a13 100644
--- a/meta/site/common
+++ b/meta/site/common
@@ -15,3 +15,5 @@ shadow_cv_utmpdir=${localstatedir}/run
shadow_cv_logdir=${localstatedir}/log
shadow_cv_passwd_dir=${bindir}
+# python: deactivate a runtime check for ipv6-support in python >=2.7.1 that fails when cross-compiling
+ac_cv_buggy_getaddrinfo=no
OpenPOWER on IntegriCloud