]> git.pld-linux.org Git - packages/libvpx.git/commitdiff
simplify disable asm
authorElan Ruusamäe <glen@delfi.ee>
Tue, 30 Dec 2014 14:53:38 +0000 (16:53 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 30 Dec 2014 14:53:38 +0000 (16:53 +0200)
libvpx.spec

index 1abb6256f3d6304266615504e34d255d44eaefae..63a274b1ae86c441cc34ea3db58681cc3b28748d 100644 (file)
@@ -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 \
This page took 0.067357 seconds and 4 git commands to generate.