summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python.inc
diff options
context:
space:
mode:
authorJingdong Lu <jingdong.lu@windriver.com>2011-01-19 17:04:43 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-20 21:37:02 +0000
commite261c1760d8a660c13cd00039a4812d51f47f3df (patch)
treea4d4e071a2b465cd08bdbdc1cfc3e8a5b47e6f85 /meta/recipes-devtools/python/python.inc
parent426de6589b4b94769446e655999b68d0ab1f046b (diff)
downloadast2050-yocto-poky-e261c1760d8a660c13cd00039a4812d51f47f3df.zip
ast2050-yocto-poky-e261c1760d8a660c13cd00039a4812d51f47f3df.tar.gz
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<jingdong.lu@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/python/python.inc')
-rw-r--r--meta/recipes-devtools/python/python.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index 62a6ba1..f782507 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 = ""
OpenPOWER on IntegriCloud