]> git.sesse.net Git - ffmpeg/commitdiff
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 5c64fe37642051d6e7630190633a5db3acfbfe0b..f2d30666192f88ee67c9854a5469d75e6da4fea7 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."
         ;;