From d6ced963176f00569e4ca1fcd196afa1742a7b2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Tue, 30 Jun 2009 12:46:09 +0000
Subject: [PATCH] ARM: enable fast_unaligned when --cpu=armv[67] is specified

Originally committed as revision 19308 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure b/configure
index 818b50a92f0..6b74a029d0a 100755
--- 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
         ;;
-- 
GitLab