From 6bf69ff21b3df83b94526501e01af8fda6bcbce1 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Sat, 13 May 2023 15:16:07 +0800 Subject: [PATCH] fix build error for loongarch64 Signed-off-by: Wenlong Zhang --- libvpx.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libvpx.spec b/libvpx.spec index 9e8943f..e8c5bd5 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -1,6 +1,6 @@ Name: libvpx Version: 1.12.0 -Release: 1 +Release: 2 Summary: VP8/VP9 Video Codec SDK License: BSD Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz @@ -33,8 +33,11 @@ Development libraries and headers for developing software against libvpx. %else %ifarch aarch64 %global vpxtarget arm64-linux-gcc +%else +%global vpxtarget generic-gnu %endif %endif + %set_build_flags ./configure --target=%{vpxtarget} \ @@ -102,6 +105,9 @@ mv %{buildroot}%{_prefix}/src/vpx_scale %{buildroot}%{_includedir}/ %{_libdir}/libvpx.so %changelog +* Mon May 8 2023 Wenlong Zhang - 1.12.0-2 +- fix build error for loongarch64 + * Sat Feb 04 2023 wenchaofan <349464272@qq.com> - 1.12.0-1 - Update to 1.12.0 version -- Gitee