From 777efcc7e50e34a9837856035a0d4525829a9150 Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sat, 5 Apr 2025 19:24:05 +0800 Subject: [PATCH] loong64: boringssl: Enable support for loong64 --- src/third_party/boringssl/src/include/openssl/target.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/third_party/boringssl/src/include/openssl/target.h b/src/third_party/boringssl/src/include/openssl/target.h index 147ab31fe0..22cdbbc3e9 100644 --- a/src/third_party/boringssl/src/include/openssl/target.h +++ b/src/third_party/boringssl/src/include/openssl/target.h @@ -54,6 +54,8 @@ #define OPENSSL_32_BIT #elif defined(__myriad2__) #define OPENSSL_32_BIT +#elif defined(__loongarch__) && __SIZEOF_POINTER__ == 8 +#define OPENSSL_64_BIT #else // The list above enumerates the platforms that BoringSSL supports. For these // platforms we keep a reasonable bar of not breaking them: automated test