X-Git-Url: https://git.pld-linux.org/?p=packages%2Flibvpx.git;a=blobdiff_plain;f=libvpx.spec;h=02880f7cfd3147e5eb96691fe7b4743e83f5fb53;hp=e76793e0ce6f969d20dddfcea777a8a93e9700a8;hb=f23690265313f5e33853a82b0ca2d292a4445586;hpb=a7d444e92e7300105500b4d42e48c4a9348949d2 diff --git a/libvpx.spec b/libvpx.spec index e76793e..02880f7 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -4,6 +4,10 @@ %bcond_without doc # don't build doc %bcond_without ssse3 # use SSSE3 instructions (Intel since Core2, Via Nano) +%ifnarch %{ix86} %{x8664} +%undefine with_asm +%endif + %if "%{pld_release}" == "ac" # not supported by compiler %undefine with_ssse3 @@ -26,9 +30,7 @@ URL: http://www.webmproject.org/ BuildRequires: doxygen BuildRequires: rpmbuild(macros) >= 1.673 BuildRequires: sed >= 4.0 -%ifarch %{ix86} %{x8664} %{?with_asm:BuildRequires: yasm >= 0.8} -%endif %if %{with doc} BuildRequires: %{php_name}-pcre BuildRequires: %{php_name}-program