aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>2013-06-01 14:24:19 -0300
committerRoss Burton <ross.burton@intel.com>2013-06-14 13:49:04 +0100
commit0421102cbd78c2e8fe9a027d747be39882ebf20d (patch)
tree6182109611a3cba02e0bdac7a1a684e28a781250
parent0785489d558c34cacf5cb349949a15e27084efbf (diff)
downloadopenembedded-core-0421102cbd78c2e8fe9a027d747be39882ebf20d.zip
openembedded-core-0421102cbd78c2e8fe9a027d747be39882ebf20d.tar.gz
openembedded-core-0421102cbd78c2e8fe9a027d747be39882ebf20d.tar.bz2
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 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>
-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