summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch')
-rw-r--r--meta/recipes-devtools/python/python3/0001-bpo-36852-proper-detection-of-mips-architecture-for-.patch33
1 files changed, 27 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 6ab335a405..f303eb35dc 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 @@
1From bb409432f03dd8256865292e382ad16613737829 Mon Sep 17 00:00:00 2001 1From d2abe7328cea770425405aa0da2f4c2dac89fcad Mon Sep 17 00:00:00 2001
2From: Matthias Schoepfer <matthias.schoepfer@ithinx.io> 2From: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
3Date: Fri, 31 May 2019 15:34:34 +0200 3Date: Fri, 31 May 2019 15:34:34 +0200
4Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft 4Subject: [PATCH] bpo-36852: proper detection of mips architecture for soft
@@ -15,19 +15,19 @@ Upstream-Status: Submitted [https://github.com/python/cpython/pull/13196]
15Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io> 15Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
16 16
17--- 17---
18 configure.ac | 175 +++++++-------------------------------------------- 18 configure.ac | 196 ++++++---------------------------------------------
19 1 file changed, 21 insertions(+), 154 deletions(-) 19 1 file changed, 21 insertions(+), 175 deletions(-)
20 20
21diff --git a/configure.ac b/configure.ac 21diff --git a/configure.ac b/configure.ac
22index 4230ef2..ee08b1b 100644 22index 358b6ea..085fc0b 100644
23--- a/configure.ac 23--- a/configure.ac
24+++ b/configure.ac 24+++ b/configure.ac
25@@ -718,160 +718,27 @@ then 25@@ -907,181 +907,27 @@ then
26 fi 26 fi
27 27
28 28
29-AC_MSG_CHECKING([for the platform triplet based on compiler characteristics]) 29-AC_MSG_CHECKING([for the platform triplet based on compiler characteristics])
30-cat >> conftest.c <<EOF 30-cat > conftest.c <<EOF
31-#undef bfin 31-#undef bfin
32-#undef cris 32-#undef cris
33-#undef fr30 33-#undef fr30
@@ -167,6 +167,22 @@ index 4230ef2..ee08b1b 100644
167- darwin 167- darwin
168-#elif defined(__VXWORKS__) 168-#elif defined(__VXWORKS__)
169- vxworks 169- vxworks
170-#elif defined(__wasm32__)
171-# if defined(__EMSCRIPTEN__)
172- wasm32-emscripten
173-# elif defined(__wasi__)
174- wasm32-wasi
175-# else
176-# error unknown wasm32 platform
177-# endif
178-#elif defined(__wasm64__)
179-# if defined(__EMSCRIPTEN)
180- wasm64-emscripten
181-# elif defined(__wasi__)
182- wasm64-wasi
183-# else
184-# error unknown wasm64 platform
185-# endif
170-#else 186-#else
171-# error unknown platform triplet 187-# error unknown platform triplet
172-#endif 188-#endif
@@ -175,6 +191,11 @@ index 4230ef2..ee08b1b 100644
175- 191-
176-if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then 192-if $CPP $CPPFLAGS conftest.c >conftest.out 2>/dev/null; then
177- PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '` 193- PLATFORM_TRIPLET=`grep -v '^#' conftest.out | grep -v '^ *$' | tr -d ' '`
194- case "$build_os" in
195- linux-musl*)
196- PLATFORM_TRIPLET=`echo "$PLATFORM_TRIPLET" | sed 's/linux-gnu/linux-musl/'`
197- ;;
198- esac
178- AC_MSG_RESULT([$PLATFORM_TRIPLET]) 199- AC_MSG_RESULT([$PLATFORM_TRIPLET])
179-else 200-else
180- AC_MSG_RESULT([none]) 201- AC_MSG_RESULT([none])