diff --git a/ffmpeg.spec b/ffmpeg.spec index ea034cb..4a92ae5 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -178,7 +178,6 @@ This package contains development files for %{name} %{?_with_gme:--enable-libgme} \\\ --enable-libgsm \\\ %{?_with_ilbc:--enable-libilbc} \\\ - %{!?_without_qsv:--enable-libmfx} \\\ --enable-libmp3lame \\\ %{?_with_netcdf:--enable-netcdf} \\\ %{!?_without_nvenc:--enable-nvenc --extra-cflags="-I%{_includedir}/nvenc"} \\\ @@ -245,6 +244,9 @@ cp -pr doc/examples/{*.c,Makefile,README} _doc/examples/ %ifarch %{ix86} --cpu=%{_target_cpu} \ %endif +%ifarch %{ix86} x86_64 + %{!?_without_qsv:--enable-libmfx} \\\ +%endif %ifarch %{ix86} x86_64 ppc ppc64 --enable-runtime-cpudetect \ %endif