mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
python3: Fix QA warning
Addresses the warning: WARNING: QA Issue: python3-native: configure was passed unrecognised options: --with-wctype-functions since this option was removed in python 3. (From OE-Core rev: f2879f3831ac86018e9526e34815f99eafe1ba82) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -51,6 +51,9 @@ EXTRA_OEMAKE = '\
|
|||||||
ARCH=${TARGET_ARCH} \
|
ARCH=${TARGET_ARCH} \
|
||||||
'
|
'
|
||||||
|
|
||||||
|
# No ctypes option for python 3
|
||||||
|
PYTHONLSBOPTS = ""
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
|
autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,6 +60,9 @@ TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
|
|||||||
TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
|
TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
|
||||||
EXTRA_OEMAKE += "CROSS_COMPILE=yes"
|
EXTRA_OEMAKE += "CROSS_COMPILE=yes"
|
||||||
|
|
||||||
|
# No ctypes option for python 3
|
||||||
|
PYTHONLSBOPTS = ""
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
rm -f ${S}/Makefile.orig
|
rm -f ${S}/Makefile.orig
|
||||||
autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
|
autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
|
||||||
|
|||||||
Reference in New Issue
Block a user