Enable FAST_UNALIGNED on ARM variants that support it
authorMåns Rullgård <mans@mansr.com>
Sun, 12 Oct 2008 23:10:48 +0000 (23:10 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 12 Oct 2008 23:10:48 +0000 (23:10 +0000)
Originally committed as revision 15609 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index adebac0..b0b6229 100755 (executable)
--- a/configure
+++ b/configure
@@ -1518,7 +1518,11 @@ if test $cpu != "generic"; then
         sparc64)
             add_cflags "-mcpu=v9"
         ;;
-        arm*|cortex*)
+        arm11*|cortex*)
+            add_cflags "-mcpu=$cpu"
+            enable fast_unaligned
+        ;;
+        arm*)
             add_cflags "-mcpu=$cpu"
         ;;
         *)