mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
configure: add basic support for ARM AArch64
Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
8f7b814f54
commit
5873b623a9
15
configure
vendored
15
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user