From 7039021b5e70e022e908079ad3a19b045004b7dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Mon, 29 Dec 2014 21:08:17 +0000 Subject: [PATCH] - 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} -- 2.44.0