From e261c1760d8a660c13cd00039a4812d51f47f3df Mon Sep 17 00:00:00 2001 From: Jingdong Lu Date: Wed, 19 Jan 2011 17:04:43 +0800 Subject: python: Fix failures of LSB python-runtime tests. Fix failues of LSB python-runtime tests. test_largefile: add "ac_cv_sizeof_off_t=8" option explicitly into configure options in order to enable "LFS". test_codecs, test_re, test_unicode: "--with-wctype-functions" will cause these tests failed, so remove it for LSB. test_builtin, test_getargs: "sitecustomize.py" cause default encoding changed from "ascii" into "utf8" and it will cause these tests failed, so remove this file for LSB. Signed-off-by: Jingdong Lu --- meta/recipes-devtools/python/python.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'meta/recipes-devtools/python/python.inc') diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc index 62a6ba1589..f78250769b 100644 --- a/meta/recipes-devtools/python/python.inc +++ b/meta/recipes-devtools/python/python.inc @@ -22,4 +22,14 @@ EXTRA_OECONF = "\ --enable-shared \ " +EXTRA_OECONF_poky-lsb = "\ + --with-threads \ + --with-pymalloc \ + --with-cyclic-gc \ + --without-cxx \ + --with-signal-module \ + --enable-shared \ + ac_cv_sizeof_off_t=8 \ +" + PARALLEL_MAKE = "" -- cgit 1.2.3-korg