set -mcpu for ARM
authorMåns Rullgård <mans@mansr.com>
Wed, 26 Sep 2007 19:57:56 +0000 (19:57 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 26 Sep 2007 19:57:56 +0000 (19:57 +0000)
Originally committed as revision 10595 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 5c64fe3..f2d3066 100755 (executable)
--- a/configure
+++ b/configure
@@ -1369,6 +1369,9 @@ if test $cpu != "generic"; then
             add_cflags "-mfdpic"
             add_ldflags "-mfdpic"
         ;;
+        arm*)
+            add_cflags "-mcpu=$cpu"
+        ;;
         *)
         echo "WARNING: Unknown CPU \"$cpu\", ignored."
         ;;