]> code.ossystems Code Review - openembedded-core.git/commitdiff
python3: Fix QA warning
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2014 11:24:01 +0000 (11:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Feb 2014 13:54:21 +0000 (13:54 +0000)
Addresses the warning:

WARNING: QA Issue: python3-native: configure was passed unrecognised options: --with-wctype-functions

since this option was removed in python 3.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-native_3.3.3.bb
meta/recipes-devtools/python/python3_3.3.3.bb

index 97bf3b5297f78889878922b033dab9f5d78679a8..534dbec18067aabe730d353e9b15d305a7e6cd2b 100644 (file)
@@ -51,6 +51,9 @@ EXTRA_OEMAKE = '\
   ARCH=${TARGET_ARCH} \
 '
 
+# No ctypes option for python 3
+PYTHONLSBOPTS = ""
+
 do_configure_prepend() {
        autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
 }
index 5d1ef5b31487942188bd9b3a97931dd85e3a8833..0631fd9873a1aee9ad16f4c737c3ecef165c0c5e 100644 (file)
@@ -60,6 +60,9 @@ TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
 TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
 EXTRA_OEMAKE += "CROSS_COMPILE=yes"
 
+# No ctypes option for python 3
+PYTHONLSBOPTS = ""
+
 do_configure_prepend() {
        rm -f ${S}/Makefile.orig
        autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"