diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-03-03 20:40:51 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-03-08 07:29:23 -0800 |
commit | 76803697fbcc18e0e02c7c5e514e398e37c4e1f7 (patch) | |
tree | 0921c33425ab97ef0a014cf38366c4d4750629a6 /meta-python/recipes-devtools/python/python3-grpcio/mips_bigendian.patch | |
parent | 204beecb958d0f8cfec29afaac5e2afbbf91df0d (diff) | |
download | meta-openembedded-76803697fbcc18e0e02c7c5e514e398e37c4e1f7.tar.gz |
python3-grpcio: Fix build on mips and musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
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) | ||