From dbe3a77e0dbaa126931ca118ab3263281fa9c769 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 9 Apr 2022 12:27:17 -0700 Subject: python3: Do not detect multiarch when cross compiling This was a long standing problem seen on aarch64 build hosts when compiling python3 with clang cross compiler. The issue is not seen with gcc because native glibc headers are still compatible with gcc cross compiler (From OE-Core rev: 407744b00d702e3133304e1b43064a5634ca02cf) Signed-off-by: Khem Raj Cc: Ross Burton Cc: Jon Mason Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3_3.10.4.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/python/python3_3.10.4.bb') diff --git a/meta/recipes-devtools/python/python3_3.10.4.bb b/meta/recipes-devtools/python/python3_3.10.4.bb index 522f0d71ee..7eaafe34ad 100644 --- a/meta/recipes-devtools/python/python3_3.10.4.bb +++ b/meta/recipes-devtools/python/python3_3.10.4.bb @@ -32,6 +32,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://makerace.patch \ file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \ file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \ + file://0001-setup.py-Do-not-detect-multiarch-paths-when-cross-co.patch \ " SRC_URI:append:class-native = " \ -- cgit v1.2.3-54-g00ecf