configure: add some MIPS CPUs
authorMåns Rullgård <mans@mansr.com>
Tue, 19 May 2009 19:38:44 +0000 (19:38 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 19 May 2009 19:38:44 +0000 (19:38 +0000)
Originally committed as revision 18872 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index ba18d8f..1f923f4 100755 (executable)
--- a/configure
+++ b/configure
@@ -1847,6 +1847,9 @@ if test $cpu != "generic"; then
         bf*)
             add_cflags -mcpu=$cpu
         ;;
+        mips*|[45]k*|[237]4k*|m4k|r*000|loongson2[ef])
+            add_cflags -march=$cpu
+        ;;
         *)
             echo "WARNING: Unknown CPU \"$cpu\", ignored."
         ;;