[libav-commits] configure: sanitise sparc vis check

Mans Rullgard git at libav.org
Fri Oct 26 13:29:34 CEST 2012


Module: libav
Branch: master
Commit: 6aa93689abe8c095cec9fa828c2dee3131008995

Author:    Mans Rullgard <mans at mansr.com>
Committer: Mans Rullgard <mans at mansr.com>
Date:      Thu Oct 25 15:56:16 2012 +0100

configure: sanitise sparc vis check

It is wrong to force -mcpu=ultrasparc when checking for vis.

Signed-off-by: Mans Rullgard <mans at mansr.com>

---

 configure |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index a39cb77..bfa3a61 100755
--- a/configure
+++ b/configure
@@ -3100,9 +3100,7 @@ EOF
 
 elif enabled sparc; then
 
-    enabled vis &&
-        check_inline_asm vis '"pdist %f0, %f0, %f0"' -mcpu=ultrasparc &&
-            add_cflags -mcpu=ultrasparc -mtune=ultrasparc
+    enabled vis && check_inline_asm vis '"pdist %f0, %f0, %f0"'
 
 elif enabled x86; then
 



More information about the libav-commits mailing list