configure: add basic support for ARM AArch64

Signed-off-by: Mans Rullgard <mans@mansr.com>
pull/8/head
Mans Rullgard 12 years ago
parent 8f7b814f54
commit 5873b623a9
  1. 15
      configure

15
configure vendored

@ -1064,6 +1064,7 @@ THREADS_LIST='
' '
ARCH_LIST=' ARCH_LIST='
aarch64
alpha alpha
arm arm
avr32 avr32
@ -2460,6 +2461,9 @@ fi
# Deal with common $arch aliases # Deal with common $arch aliases
case "$arch" in case "$arch" in
aarch64|arm64)
arch="aarch64"
;;
arm*) arm*)
arch="arm" arch="arm"
;; ;;
@ -2635,6 +2639,17 @@ elif enabled avr32; then
;; ;;
esac esac
elif enabled aarch64; then
case $cpu in
armv*)
cpuflags="-march=$cpu"
;;
*)
cpuflags="-mcpu=$cpu"
;;
esac
fi fi
add_cflags $cpuflags add_cflags $cpuflags

Loading…
Cancel
Save