don't try to enable libmfx on non-x86

el8
Dominik 'Rathann' Mierzejewski 8 years ago
parent 58638f632d
commit 2a81e2241e

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

Loading…
Cancel
Save