mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-19 23:28:38 +00:00
python3-grpcio: Fix build with riscv32
Ensure libseil-cpp can build for rv32 and boringssl riscv patch considers rv32 separate from rv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -4,13 +4,18 @@ Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
--- a/third_party/boringssl/include/openssl/base.h
|
||||
+++ b/third_party/boringssl/include/openssl/base.h
|
||||
@@ -108,6 +108,9 @@ extern "C" {
|
||||
@@ -108,6 +108,14 @@ extern "C" {
|
||||
#elif defined(__mips__) && defined(__LP64__)
|
||||
#define OPENSSL_64_BIT
|
||||
#define OPENSSL_MIPS64
|
||||
+#elif defined(__riscv) && defined(__riscv_xlen)
|
||||
+#define OPENSSL_64_BIT
|
||||
+#define OPENSSL_RISCV64
|
||||
+#elif defined(__riscv)
|
||||
+# if (__riscv_xlen == 64)
|
||||
+# define OPENSSL_64_BIT
|
||||
+# define OPENSSL_RISCV64
|
||||
+# elif(__riscv_xlen == 32)
|
||||
+# define OPENSSL_32_BIT
|
||||
+# define OPENSSL_RISCV32
|
||||
+# endif
|
||||
#elif defined(__pnacl__)
|
||||
#define OPENSSL_32_BIT
|
||||
#define OPENSSL_PNACL
|
||||
|
||||
Reference in New Issue
Block a user