!11 [sync] PR-10: add loongarch64 and sw_64 support

From: @openeuler-sync-bot 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-09-22 02:11:30 +00:00 committed by Gitee
commit 5078ff8d2c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <yanglijin@huawei.com> -1.7.0-8
* Tue Aug 22 2023 panchenbo <panchenbo@kylinsec.com.cn> - 1.7.0-9
- add loongarch64 and sw_64 support
* Fri Nov 08 2019 Lijin Yang <yanglijin@huawei.com> - 1.7.0-8
- Pakcage init