configure: arm: do not enable fast-unaligned if it is explicitly disabled via commandline
authorYu Xiaolei <dreifachstein@gmail.com>
Tue, 20 May 2014 02:14:05 +0000 (10:14 +0800)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 20 May 2014 13:29:57 +0000 (15:29 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index 2a6a96b..b6d35ae 100755 (executable)
--- a/configure
+++ b/configure
@@ -3615,7 +3615,10 @@ elif enabled arm; then
 
     case "$subarch" in
         armv5t*)    enable fast_clz                ;;
-        armv[6-8]*) enable fast_clz fast_unaligned ;;
+        armv[6-8]*)
+            enable fast_clz
+            disabled fast_unaligned || enable fast_unaligned
+            ;;
     esac
 
 elif enabled avr32; then