diff options
-rw-r--r-- | meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch index fe0aa8aabe..c4fae09a5b 100644 --- a/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch +++ b/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 2581ebe3cd9686089aed223651e1b8bf0b862b48 Mon Sep 17 00:00:00 2001 | 1 | From 1ad771d86728ee2ed30e202e9768d8d825f96467 Mon Sep 17 00:00:00 2001 |
2 | From: Matthias Schoepfer <matthias.schoepfer@ithinx.io> | 2 | From: Matthias Schoepfer <matthias.schoepfer@ithinx.io> |
3 | Date: Fri, 31 May 2019 15:34:34 +0200 | 3 | Date: Fri, 31 May 2019 15:34:34 +0200 |
4 | Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft | 4 | Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft |
@@ -13,15 +13,16 @@ to do this in a more autoconf/autotools manner. | |||
13 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/13196] | 13 | Upstream-Status: Submitted [https://github.com/python/cpython/pull/13196] |
14 | Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> | 14 | Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> |
15 | 15 | ||
16 | %% original patch: 0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch | ||
16 | --- | 17 | --- |
17 | configure.ac | 171 +++++---------------------------------------------- | 18 | configure.ac | 175 +++++++-------------------------------------------- |
18 | 1 file changed, 17 insertions(+), 154 deletions(-) | 19 | 1 file changed, 21 insertions(+), 154 deletions(-) |
19 | 20 | ||
20 | diff --git a/configure.ac b/configure.ac | 21 | diff --git a/configure.ac b/configure.ac |
21 | index 0f85486..0ca7e24 100644 | 22 | index ede710e..bc81b0b 100644 |
22 | --- a/configure.ac | 23 | --- a/configure.ac |
23 | +++ b/configure.ac | 24 | +++ b/configure.ac |
24 | @@ -704,160 +704,23 @@ fi | 25 | @@ -710,160 +710,27 @@ fi |
25 | MULTIARCH=$($CC --print-multiarch 2>/dev/null) | 26 | MULTIARCH=$($CC --print-multiarch 2>/dev/null) |
26 | AC_SUBST(MULTIARCH) | 27 | AC_SUBST(MULTIARCH) |
27 | 28 | ||
@@ -193,9 +194,16 @@ index 0f85486..0ca7e24 100644 | |||
193 | + PLATFORM_TRIPLET=vxworks | 194 | + PLATFORM_TRIPLET=vxworks |
194 | + ;; | 195 | + ;; |
195 | + *) | 196 | + *) |
196 | + PLATFORM_TRIPLET=${target_cpu}-${target_os} | 197 | + if test "${target_cpu}" != "i686"; then |
198 | + PLATFORM_TRIPLET=${target_cpu}-${target_os} | ||
199 | + else | ||
200 | + PLATFORM_TRIPLET=i386-${target_os} | ||
201 | + fi | ||
197 | + ;; | 202 | + ;; |
198 | +esac | 203 | +esac |
199 | 204 | ||
200 | if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then | 205 | if test x$PLATFORM_TRIPLET != x && test x$MULTIARCH != x; then |
201 | if test x$PLATFORM_TRIPLET != x$MULTIARCH; then | 206 | if test x$PLATFORM_TRIPLET != x$MULTIARCH; then |
207 | -- | ||
208 | 2.24.1 | ||
209 | |||