diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch new file mode 100644 index 0000000000..6435abbe6d --- /dev/null +++ b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Let boringSSL compile on ppc32 bit | ||
| 2 | |||
| 3 | Upstream-Status: Pending | ||
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 5 | |||
| 6 | --- a/third_party/boringssl/include/openssl/base.h | ||
| 7 | +++ b/third_party/boringssl/include/openssl/base.h | ||
| 8 | @@ -95,6 +95,9 @@ extern "C" { | ||
| 9 | #elif (defined(__PPC64__) || defined(__powerpc64__)) && defined(_LITTLE_ENDIAN) | ||
| 10 | #define OPENSSL_64_BIT | ||
| 11 | #define OPENSSL_PPC64LE | ||
| 12 | +#elif (defined(__PPC__) || defined(__powerpc__)) | ||
| 13 | +#define OPENSSL_32_BIT | ||
| 14 | +#define OPENSSL_PPC | ||
| 15 | #elif defined(__mips__) && !defined(__LP64__) | ||
| 16 | #define OPENSSL_32_BIT | ||
| 17 | #define OPENSSL_MIPS | ||
