diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch b/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch deleted file mode 100644 index 350c67deaf..0000000000 --- a/meta-python/recipes-devtools/python/python3-grpcio/riscv64_support.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | Add RISC-V 64bit support | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | --- a/third_party/boringssl-with-bazel/src/include/openssl/base.h | ||
6 | +++ b/third_party/boringssl-with-bazel/src/include/openssl/base.h | ||
7 | @@ -108,6 +108,14 @@ extern "C" { | ||
8 | #elif defined(__MIPSEL__) && defined(__LP64__) | ||
9 | #define OPENSSL_64_BIT | ||
10 | #define OPENSSL_MIPS64 | ||
11 | +#elif defined(__riscv) | ||
12 | +# if (__riscv_xlen == 64) | ||
13 | +# define OPENSSL_64_BIT | ||
14 | +# define OPENSSL_RISCV64 | ||
15 | +# elif(__riscv_xlen == 32) | ||
16 | +# define OPENSSL_32_BIT | ||
17 | +# define OPENSSL_RISCV32 | ||
18 | +# endif | ||
19 | #elif defined(__pnacl__) | ||
20 | #define OPENSSL_32_BIT | ||
21 | #define OPENSSL_PNACL | ||