Dmitry V. Levin wrote:

> What do you think about the following patch instead:
> 
> diff --git a/config.guess b/config.guess
> index 160ecf0..b07202e 100755
> --- a/config.guess
> +++ b/config.guess
> @@ -1378,8 +1378,11 @@ EOF
> BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
> GUESS=i586-pc-haiku
> ;;
> - x86_64:Haiku:*:*)
> - GUESS=x86_64-unknown-haiku
> + arm64:Haiku:*:*)
> + GUESS=aarch64-unknown-haiku
> + ;;
> + arm:Haiku:*:* | riscv64:Haiku:*:* | x86_64:Haiku:*:*)
> + GUESS=$UNAME_MACHINE-unknown-haiku
> ;;
> SX-4:SUPER-UX:*:*)
> GUESS=sx4-nec-superux$UNAME_RELEASE
> diff --git a/testsuite/config-guess.data b/testsuite/config-guess.data
> index 7065a41..102e581 100644

.
.

Looks good to me :-)

... actually, I just double checked arm64, and we actually keep our uname
platform consistent with linux  via aarch64. So that one can also be combined 
too:

(aka arm:Haiku:*:* | aarch64:Haiku:*:* | riscv64:Haiku:*:* | x86_64:Haiku:*:*)

Source:
https://cgit.haiku-os.org/haiku/tree/src/system/libroot/posix/sys/uname.c#n55

Sorry for the mistake there. We call aarch64 "arm64" everywhere except where it
counts :-)

-- Alex

Reply via email to