[packages/libvpx] - disable asm on x32 (broken there)

baggins baggins at pld-linux.org
Sun Dec 28 22:24:24 CET 2014


commit 9d0d5e9665e4dfa6663e348dacae00ce964e0747
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Dec 28 21:24:09 2014 +0000

    - disable asm on x32 (broken there)

 libvpx.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/libvpx.spec b/libvpx.spec
index 3b90984..dc70d60 100644
--- a/libvpx.spec
+++ b/libvpx.spec
@@ -99,7 +99,11 @@ Statyczna biblioteka libvpx.
 install -d obj
 cd obj
 # not autoconf configure
+%ifarch x32
+CFLAGS="%{rpmcflags} %{rpmcppflags} -DYUV_DISABLE_ASM" \
+%else
 CFLAGS="%{rpmcflags} %{rpmcppflags}" \
+%endif
 ../configure \
 %if %{with asm}
 	--as=yasm \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvpx.git/commitdiff/9d0d5e9665e4dfa6663e348dacae00ce964e0747



More information about the pld-cvs-commit mailing list