ARM: enable fast_unaligned when --cpu=armv[67] is specified
authorMåns Rullgård <mans@mansr.com>
Tue, 30 Jun 2009 12:46:09 +0000 (12:46 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 30 Jun 2009 12:46:09 +0000 (12:46 +0000)
Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 818b50a..6b74a02 100755 (executable)
--- a/configure
+++ b/configure
@@ -1882,6 +1882,10 @@ if test $cpu != "generic"; then
             add_cflags -mcpu=$cpu
             enable fast_unaligned
         ;;
+        armv[67]*)
+            add_cflags -march=$cpu
+            enable fast_unaligned
+        ;;
         armv*)
             add_cflags -march=$cpu
         ;;