aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-11-16 21:02:53 +0000
committerMans Rullgard <mans@mansr.com>2012-11-18 12:00:18 +0000
commit5873b623a93cf5e314c6a11445a261b029921545 (patch)
tree8f52e8cb30fcad85b99fad26147d6c59590f1206 /configure
parent8f7b814f547d484a59702badc4545327439841ea (diff)
downloadffmpeg-5873b623a93cf5e314c6a11445a261b029921545.tar.gz
configure: add basic support for ARM AArch64
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index f577f7c7e9..02391848a2 100755
--- a/configure
+++ b/configure
@@ -1064,6 +1064,7 @@ THREADS_LIST='
'
ARCH_LIST='
+ aarch64
alpha
arm
avr32
@@ -2460,6 +2461,9 @@ fi
# Deal with common $arch aliases
case "$arch" in
+ aarch64|arm64)
+ arch="aarch64"
+ ;;
arm*)
arch="arm"
;;
@@ -2635,6 +2639,17 @@ elif enabled avr32; then
;;
esac
+elif enabled aarch64; then
+
+ case $cpu in
+ armv*)
+ cpuflags="-march=$cpu"
+ ;;
+ *)
+ cpuflags="-mcpu=$cpu"
+ ;;
+ esac
+
fi
add_cflags $cpuflags