!8 fix build error for loongarch64
From: @zhangwenlong01 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
621fc46be6
@ -1,6 +1,6 @@
|
|||||||
Name: libvpx
|
Name: libvpx
|
||||||
Version: 1.12.0
|
Version: 1.12.0
|
||||||
Release: 1
|
Release: 2
|
||||||
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
|
||||||
@ -33,8 +33,11 @@ Development libraries and headers for developing software against libvpx.
|
|||||||
%else
|
%else
|
||||||
%ifarch aarch64
|
%ifarch aarch64
|
||||||
%global vpxtarget arm64-linux-gcc
|
%global vpxtarget arm64-linux-gcc
|
||||||
|
%else
|
||||||
|
%global vpxtarget generic-gnu
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
|
|
||||||
./configure --target=%{vpxtarget} \
|
./configure --target=%{vpxtarget} \
|
||||||
@ -102,6 +105,9 @@ mv %{buildroot}%{_prefix}/src/vpx_scale %{buildroot}%{_includedir}/
|
|||||||
%{_libdir}/libvpx.so
|
%{_libdir}/libvpx.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Feb 04 2023 wenchaofan <349464272@qq.com> - 1.12.0-1
|
||||||
- Update to 1.12.0 version
|
- Update to 1.12.0 version
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user