[packages/libvpx] - use existing asm bcond to disable asm in libyuv

baggins baggins at pld-linux.org
Mon Dec 29 22:08:45 CET 2014


commit 7039021b5e70e022e908079ad3a19b045004b7dc
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Dec 29 21:08:17 2014 +0000

    - use existing asm bcond to disable asm in libyuv

 libvpx.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libvpx.spec b/libvpx.spec
index dc70d60..1abb625 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -99,10 +99,10 @@ Statyczna biblioteka libvpx.
 install -d obj
 cd obj
 # not autoconf configure
-%ifarch x32
-CFLAGS="%{rpmcflags} %{rpmcppflags} -DYUV_DISABLE_ASM" \
-%else
+%if %{with asm}
 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
+%else
+CFLAGS="%{rpmcflags} %{rpmcppflags} -DYUV_DISABLE_ASM" \
 %endif
 ../configure \
 %if %{with asm}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvpx.git/commitdiff/7039021b5e70e022e908079ad3a19b045004b7dc



More information about the pld-cvs-commit mailing list