fix build error for ppc64le

Signed-off-by: hefq343 <fengqing.he@shingroup.cn>
This commit is contained in:
hefq343 2024-03-11 17:43:49 +08:00
parent edc503e44f
commit df19f8c297

View File

@ -1,6 +1,6 @@
Name: libvpx
Version: 1.7.0
Release: 10
Release: 11
Summary: VP8/VP9 Video Codec SDK
License: BSD
Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz
@ -36,7 +36,7 @@ Development libraries and headers for developing software against libvpx.
%ifarch aarch64
%global vpxtarget arm64-linux-gcc
%else
%ifarch loongarch64 sw_64
%ifarch loongarch64 sw_64 ppc64le
%global vpxtarget generic-gnu
%endif
%endif
@ -108,6 +108,9 @@ mv %{buildroot}%{_prefix}/src/vpx_scale %{buildroot}%{_includedir}/
%{_libdir}/libvpx.so
%changelog
* Mon Mar 11 2024 hefq343<fengqing.he@shingroup.cn> - 1.7.0-11
- add ppc64le support
* Sun Oct 01 2023 Funda Wang <fundawang@yeah.net> - 1.7.0-10
- fix CVE-2023-5217, CVE-2023-44488