]> git.pld-linux.org Git - packages/libvpx.git/commitdiff
- use existing asm bcond to disable asm in libyuv
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Dec 2014 21:08:17 +0000 (21:08 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 29 Dec 2014 21:08:17 +0000 (21:08 +0000)
libvpx.spec

index dc70d60880ffc851baae3a168f732921ec69f4c3..1abb6256f3d6304266615504e34d255d44eaefae 100644 (file)
@@ -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}
This page took 0.098131 seconds and 4 git commands to generate.