From 6320de218d62b1bf18f50acb339a0160fdd8f9b5 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 21 Jun 2013 09:34:46 +0000 Subject: [PATCH] Fix build on armhfp --- ffmpeg.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ffmpeg.spec b/ffmpeg.spec index 98ffa89..a66001f 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -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 - 1.2.1-2 +* Wed Jun 19 2013 Nicolas Chauvet - 1.2.1-3 - Enable neon on armv7hnl +- Enable thumb on all arm but armv6hl * Tue May 14 2013 Julian Sikorski - 1.2.1-1 - Updated to 1.2.1