diff --git a/ffmpeg.spec b/ffmpeg.spec index 3417f59..1d3cce0 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -8,7 +8,7 @@ %global pkg_suffix -free # Fails due to asm issue -%ifarch %{ix86} %arm +%ifarch %{ix86} %{arm} %bcond_with lto %else %bcond_without lto @@ -48,6 +48,10 @@ %bcond_with xvid %endif +%if %{without lto} +%global _lto_cflags %{nil} +%endif + %global av_codec_soversion 59 %global av_device_soversion 59 %global av_filter_soversion 8