fix build error for loongarch64

Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
This commit is contained in:
Wenlong Zhang 2023-05-13 15:16:07 +08:00
parent 725728ef2c
commit 6bf69ff21b

View File

@ -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 <zhangwenlong@loongson.cn> - 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