mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-29 06:10:09 +08:00
NetBSD (on arm64): reorder cpu detection to detect aarch64 target when cpu is arm64
This commit is contained in:
parent
c32cfc1113
commit
eab324a7cf
6
configure
vendored
6
configure
vendored
@ -177,6 +177,9 @@ case "$cpu" in
|
|||||||
x86_64|amd64|x86-64)
|
x86_64|amd64|x86-64)
|
||||||
cpu="x86_64"
|
cpu="x86_64"
|
||||||
;;
|
;;
|
||||||
|
aarch64|arm64)
|
||||||
|
cpu="aarch64"
|
||||||
|
;;
|
||||||
arm*)
|
arm*)
|
||||||
case "$cpu" in
|
case "$cpu" in
|
||||||
arm|armv4l)
|
arm|armv4l)
|
||||||
@ -194,9 +197,6 @@ case "$cpu" in
|
|||||||
esac
|
esac
|
||||||
cpu="arm"
|
cpu="arm"
|
||||||
;;
|
;;
|
||||||
aarch64)
|
|
||||||
cpu="aarch64"
|
|
||||||
;;
|
|
||||||
alpha)
|
alpha)
|
||||||
cpu="alpha"
|
cpu="alpha"
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user