OSDN Git Service

configure: sanitise sparc vis check
authorMans Rullgard <mans@mansr.com>
Thu, 25 Oct 2012 14:56:16 +0000 (15:56 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 26 Oct 2012 11:29:03 +0000 (12:29 +0100)
It is wrong to force -mcpu=ultrasparc when checking for vis.

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

index a39cb77..bfa3a61 100755 (executable)
--- 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