commit 5f38e725769fda61d6e079df4e2c4e9064c65e48
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Nov 20 21:26:44 2014 +0200

    add ssse3 bcond, disable it on ac due old compiler

 libvpx.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/libvpx.spec b/libvpx.spec
index 6ab4aa7..2b4ebad 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -1,6 +1,12 @@
 #
 # Conditional build:
 %bcond_without asm     # x86 assembler
+%bcond_without ssse3   # use SSSE3 instructions (Intel since Core2, Via Nano)
+
+%if "%{pld_release}" == "ac"
+# not supported by compiler
+%undefine      with_ssse3
+%endif
 
 Summary:       VP8, a high-quality video codec
 Summary(pl.UTF-8):     VP8 - kodek obrazu wysokiej jakości
@@ -73,7 +79,7 @@ Statyczna biblioteka libvpx.
 
 %prep
 #%setup -q -n %{name}-v%{version}
-%setup -q -c
+%setup -qc
 
 %build
 install -d obj
@@ -88,6 +94,7 @@ CFLAGS="%{rpmcflags} %{rpmcppflags}" \
 %if "%{vpxtarget}" != "%{generic_target}"
        --enable-shared \
 %endif
+       %{!?with_ssse3:--disable-ssse3} \
        --disable-optimizations \
        --enable-vp8 \
        --enable-postproc \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvpx.git/commitdiff/5f38e725769fda61d6e079df4e2c4e9064c65e48

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to