fix build error for ppc64le

Signed-off-by: hefq343 <fengqing.he@shingroup.cn>
(cherry picked from commit df19f8c29708333f5c5c5c210fad9a26c086c4d4)
This commit is contained in:
hefq343 2024-03-11 17:43:49 +08:00 committed by openeuler-sync-bot
parent edc503e44f
commit c0d8b2fdae

View File

@ -1,6 +1,6 @@
Name: libvpx Name: libvpx
Version: 1.7.0 Version: 1.7.0
Release: 10 Release: 11
Summary: VP8/VP9 Video Codec SDK Summary: VP8/VP9 Video Codec SDK
License: BSD License: BSD
Source0: https://github.com/webmproject/libvpx/archive/v%{version}.tar.gz 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 %ifarch aarch64
%global vpxtarget arm64-linux-gcc %global vpxtarget arm64-linux-gcc
%else %else
%ifarch loongarch64 sw_64 %ifarch loongarch64 sw_64 ppc64le
%global vpxtarget generic-gnu %global vpxtarget generic-gnu
%endif %endif
%endif %endif
@ -108,6 +108,9 @@ mv %{buildroot}%{_prefix}/src/vpx_scale %{buildroot}%{_includedir}/
%{_libdir}/libvpx.so %{_libdir}/libvpx.so
%changelog %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 * Sun Oct 01 2023 Funda Wang <fundawang@yeah.net> - 1.7.0-10
- fix CVE-2023-5217, CVE-2023-44488 - fix CVE-2023-5217, CVE-2023-44488