From cfa7c5489c3af565ee47321dc67203eb4fe77be8 Mon Sep 17 00:00:00 2001 From: Liwei Ge Date: Wed, 24 Nov 2021 22:13:45 +0800 Subject: [PATCH] config: support loongarch64 Signed-off-by: Liwei Ge --- config.h | 2 +- libsrtp.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index d0860ba..5b29676 100644 --- a/config.h +++ b/config.h @@ -9,7 +9,7 @@ #endif #define srtp_multilib_redirection_h -#if defined(__x86_64__) || defined(__PPC64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__) || defined(__aarch64__) +#if defined(__x86_64__) || defined(__PPC64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__) || defined(__aarch64__) || defined(__loongarch__) #include "srtp/config-64.h" #else #include "srtp/config-32.h" diff --git a/libsrtp.spec b/libsrtp.spec index c4bfe26..9e96e84 100644 --- a/libsrtp.spec +++ b/libsrtp.spec @@ -1,8 +1,9 @@ +%define anolis_release .0.1 %global shortname srtp Name: libsrtp Version: 1.5.4 -Release: 8%{?dist} +Release: 8%{anolis_release}%{?dist} Summary: An implementation of the Secure Real-time Transport Protocol (SRTP) Group: System Environment/Libraries License: BSD @@ -75,6 +76,9 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{shortname}/config.h %{_libdir}/*.so %changelog +* Wed Nov 24 2021 Liwei Ge - 1.5.4-8.0.1 +- Support loongarch64 platform + * Mon Sep 03 2018 Wim Taymans - 1.5.4-8 - Port to openssl 1.1.0 - Build against openssl -- Gitee