[packages/libvpx] simplify disable asm

glen glen at pld-linux.org
Tue Dec 30 15:53:42 CET 2014


commit 16ab9c5ee5e43fd3fae3fc23a25d7222496b12d9
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Dec 30 16:53:38 2014 +0200

    simplify disable asm

 libvpx.spec | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/libvpx.spec b/libvpx.spec
index 1abb625..63a274b 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -99,11 +99,7 @@ Statyczna biblioteka libvpx.
 install -d obj
 cd obj
 # not autoconf configure
-%if %{with asm}
-CFLAGS="%{rpmcflags} %{rpmcppflags}" \
-%else
-CFLAGS="%{rpmcflags} %{rpmcppflags} -DYUV_DISABLE_ASM" \
-%endif
+CFLAGS="%{rpmcflags} %{rpmcppflags} %{!?with_asm:-DYUV_DISABLE_ASM}" \
 ../configure \
 %if %{with asm}
 	--as=yasm \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvpx.git/commitdiff/16ab9c5ee5e43fd3fae3fc23a25d7222496b12d9



More information about the pld-cvs-commit mailing list