Fix build on armhfp

el8
Nicolas Chauvet 12 years ago
parent 592c3dda9f
commit 6320de218d

@ -17,7 +17,7 @@
Summary: Digital VCR and streaming server
Name: ffmpeg
Version: 1.2.1
Release: 2%{?date}%{?date:git}%{?rel}%{?dist}
Release: 3%{?date}%{?date:git}%{?rel}%{?dist}
%if 0%{?_with_amr:1}
License: GPLv3+
%else
@ -195,6 +195,11 @@ pushd generic
%endif
%ifarch %{arm}
--disable-runtime-cpudetect --arch=arm \
%ifarch armv6hl
--cpu=armv6 \
%else
--enable-thumb \
%endif
%ifnarch armv7hnl
--disable-neon \
%else
@ -285,8 +290,9 @@ mv $RPM_BUILD_ROOT%{_mandir}/man1/lib*.3 $RPM_BUILD_ROOT%{_mandir}/man3
%changelog
* Wed Jun 19 2013 Nicolas Chauvet <kwizart@gmail.com> - 1.2.1-2
* Wed Jun 19 2013 Nicolas Chauvet <kwizart@gmail.com> - 1.2.1-3
- Enable neon on armv7hnl
- Enable thumb on all arm but armv6hl
* Tue May 14 2013 Julian Sikorski <belegdol@fedoraproject.org> - 1.2.1-1
- Updated to 1.2.1

Loading…
Cancel
Save