configure: recognise more sparc variants as --cpu argument
authorMichael Kostylev <michael.kostylev@gmail.com>
Thu, 25 Oct 2012 10:38:51 +0000 (11:38 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 26 Oct 2012 11:29:03 +0000 (12:29 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index df07a6f..a39cb77 100755 (executable)
--- a/configure
+++ b/configure
@@ -2568,12 +2568,12 @@ elif enabled x86; then
 elif enabled sparc; then
 
     case $cpu in
-        niagara)
+        cypress|f93[04]|tsc701|sparcl*|supersparc|hypersparc|niagara|v[789])
             cpuflags="-mcpu=$cpu"
             disable vis
         ;;
-        sparc64)
-            cpuflags="-mcpu=v9"
+        ultrasparc*|niagara[234])
+            cpuflags="-mcpu=$cpu"
         ;;
     esac