Browse code

Enable FAST_UNALIGNED on ARM variants that support it

Originally committed as revision 15609 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2008/10/13 08:10:48
Showing 1 changed files
... ...
@@ -1518,7 +1518,11 @@ if test $cpu != "generic"; then
1518 1518
         sparc64)
1519 1519
             add_cflags "-mcpu=v9"
1520 1520
         ;;
1521
-        arm*|cortex*)
1521
+        arm11*|cortex*)
1522
+            add_cflags "-mcpu=$cpu"
1523
+            enable fast_unaligned
1524
+        ;;
1525
+        arm*)
1522 1526
             add_cflags "-mcpu=$cpu"
1523 1527
         ;;
1524 1528
         *)