From 16ab9c5ee5e43fd3fae3fc23a25d7222496b12d9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 30 Dec 2014 16:53:38 +0200 Subject: [PATCH] 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 \ -- 2.44.0