diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch b/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch new file mode 100644 index 0000000000..343f25a46e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | --- a/third_party/boringssl-with-bazel/src/include/openssl/base.h | ||
2 | +++ b/third_party/boringssl-with-bazel/src/include/openssl/base.h | ||
3 | @@ -102,10 +102,10 @@ extern "C" { | ||
4 | #elif (defined(__PPC__) || defined(__powerpc__)) | ||
5 | #define OPENSSL_32_BIT | ||
6 | #define OPENSSL_PPC | ||
7 | -#elif defined(__MIPSEL__) && !defined(__LP64__) | ||
8 | +#elif defined(__mips__) && !defined(__LP64__) | ||
9 | #define OPENSSL_32_BIT | ||
10 | #define OPENSSL_MIPS | ||
11 | -#elif defined(__MIPSEL__) && defined(__LP64__) | ||
12 | +#elif defined(__mips__) && defined(__LP64__) | ||
13 | #define OPENSSL_64_BIT | ||
14 | #define OPENSSL_MIPS64 | ||
15 | #elif defined(__riscv) | ||