Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 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/include/openssl/base.h |
| 6 | +++ b/third_party/boringssl/include/openssl/base.h |
| 7 | @@ -104,6 +104,9 @@ extern "C" { |
| 8 | #elif defined(__mips__) && defined(__LP64__) |
| 9 | #define OPENSSL_64_BIT |
| 10 | #define OPENSSL_MIPS64 |
| 11 | +#elif defined(__riscv) && defined(__riscv_xlen) |
| 12 | +#define OPENSSL_64_BIT |
| 13 | +#define OPENSSL_RISCV64 |
| 14 | #elif defined(__pnacl__) |
| 15 | #define OPENSSL_32_BIT |
| 16 | #define OPENSSL_PNACL |