From b25c75c100b0feb08f0ab08399647c80f39976c5 Mon Sep 17 00:00:00 2001 From: Surender Yadav Date: Thu, 6 Jun 2024 17:36:01 +0530 Subject: [PATCH] Boringssl and rules python fix for s390x (#166) * Boringssl s390x fix * rules python fix for s390x * Update to minimum python version supported on s390x Signed-off-by: Surender Yadav Signed-off-by: Dario Cillerai Signed-off-by: Ted Poole --- bssl-compat/third_party/boringssl/src/include/openssl/base.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bssl-compat/third_party/boringssl/src/include/openssl/base.h b/bssl-compat/third_party/boringssl/src/include/openssl/base.h index 190e250ff0..dfacda574e 100644 --- a/bssl-compat/third_party/boringssl/src/include/openssl/base.h +++ b/bssl-compat/third_party/boringssl/src/include/openssl/base.h @@ -116,6 +116,8 @@ extern "C" { #define OPENSSL_32_BIT #elif defined(__myriad2__) #define OPENSSL_32_BIT +#elif defined(__s390__) || defined(__s390x__) || defined(__zarch__) +#define OPENSSL_64_BIT #else // Note BoringSSL only supports standard 32-bit and 64-bit two's-complement, // little-endian architectures. Functions will not produce the correct answer