From 56688f8c969593f5c28ce014ef1731f6a72fabc0 Mon Sep 17 00:00:00 2001 From: panchenbo Date: Tue, 22 Aug 2023 11:23:37 +0800 Subject: [PATCH] add loongarch64 and sw_64 support (cherry picked from commit 3c0116ebe0c87f4ae96e2847e0e9404eda97dd38) --- libvpx.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libvpx.spec b/libvpx.spec index a9203b4..7f511f3 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -1,6 +1,6 @@ Name: libvpx Version: 1.7.0 -Release: 8 +Release: 9 Summary: VP8/VP9 Video Codec SDK License: BSD Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz @@ -33,6 +33,10 @@ Development libraries and headers for developing software against libvpx. %else %ifarch aarch64 %global vpxtarget arm64-linux-gcc +%else +%ifarch loongarch64 sw_64 +%global vpxtarget generic-gnu +%endif %endif %endif %set_build_flags @@ -102,6 +106,9 @@ mv %{buildroot}%{_prefix}/src/vpx_scale %{buildroot}%{_includedir}/ %{_libdir}/libvpx.so %changelog -* Fri Nov 08 2019 Lijin Yang -1.7.0-8 +* Tue Aug 22 2023 panchenbo - 1.7.0-9 +- add loongarch64 and sw_64 support + +* Fri Nov 08 2019 Lijin Yang - 1.7.0-8 - Pakcage init -- Gitee