diff options
author | Mans Rullgard <mans@mansr.com> | 2012-11-16 21:02:53 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-11-18 12:00:18 +0000 |
commit | 5873b623a93cf5e314c6a11445a261b029921545 (patch) | |
tree | 8f52e8cb30fcad85b99fad26147d6c59590f1206 /configure | |
parent | 8f7b814f547d484a59702badc4545327439841ea (diff) | |
download | ffmpeg-5873b623a93cf5e314c6a11445a261b029921545.tar.gz |
configure: add basic support for ARM AArch64
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |