configure: update suncc SPARC CPU name mapping
authorMichael Kostylev <michael.kostylev@gmail.com>
Fri, 7 May 2010 11:50:55 +0000 (11:50 +0000)
committerMåns Rullgård <mans@mansr.com>
Fri, 7 May 2010 11:50:55 +0000 (11:50 +0000)
Patch by Michael Kostylev <michael kostylev gmail>

Originally committed as revision 23047 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 819d14b..50c2555 100755 (executable)
--- a/configure
+++ b/configure
@@ -1821,9 +1821,9 @@ elif $cc -V 2>&1 | grep -q Sun; then
                 -march=*|-mcpu=*)
                     case "${flag#*=}" in
                         native)                   echo -xtarget=native       ;;
                 -march=*|-mcpu=*)
                     case "${flag#*=}" in
                         native)                   echo -xtarget=native       ;;
-                        v9)                       echo -xarch=sparc          ;;
+                        v9|niagara)               echo -xarch=sparc          ;;
                         ultrasparc)               echo -xarch=sparcvis       ;;
                         ultrasparc)               echo -xarch=sparcvis       ;;
-                        ultrasparc3|niagara*)     echo -xarch=sparcvis2      ;;
+                        ultrasparc3|niagara2)     echo -xarch=sparcvis2      ;;
                         i586|pentium)             echo -xchip=pentium        ;;
                         i686|pentiumpro|pentium2) echo -xtarget=pentium_pro  ;;
                         pentium3*|c3-2)           echo -xtarget=pentium3     ;;
                         i586|pentium)             echo -xchip=pentium        ;;
                         i686|pentiumpro|pentium2) echo -xtarget=pentium_pro  ;;
                         pentium3*|c3-2)           echo -xtarget=pentium3     ;;