Description: Add loongarch64 support . protobuf (3.21.12-10+loong64) unstable; urgency=medium . * src/google/protobuf/stubs/platform_macros.h - Add loongarch64 support Author: Dandan Zhang --- Last-Update: 2025-04-28 --- protobuf-3.21.12.orig/src/google/protobuf/stubs/platform_macros.h +++ protobuf-3.21.12/src/google/protobuf/stubs/platform_macros.h @@ -60,6 +60,9 @@ #elif defined(__aarch64__) #define GOOGLE_PROTOBUF_ARCH_AARCH64 1 #define GOOGLE_PROTOBUF_ARCH_64_BIT 1 +#elif defined(__loongarch64) +#define GOOGLE_PROTOBUF_ARCH_LOONGARCH64 1 +#define GOOGLE_PROTOBUF_ARCH_64_BIT 1 #elif defined(__mips__) #if defined(__LP64__) #define GOOGLE_PROTOBUF_ARCH_MIPS64 1