config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] config.guess: Fix aarch64 macOS detection with GNU uname


From: address@hidden
Subject: Re: [PATCH] config.guess: Fix aarch64 macOS detection with GNU uname
Date: Tue, 23 Mar 2021 08:24:59 -0400

This is needed on Apple iOS devices.
Compiling on an iPhone or iPad, UNAME_MACHINE is equivalent to the device model. (e.g. iPhone12,3)

 

From: Dmitry V. Levin <ldv@altlinux.org>
Sent: Sunday, March 21, 2021 9:22 PM
To: me@diatr.us
Cc: config-patches@gnu.org
Subject: Re: [PATCH] config.guess: Fix aarch64 macOS detection with GNU uname
 
On Sun, Mar 21, 2021 at 09:23:45AM -0400, me@diatr.us wrote:
> From: Hayden <me@diatr.us>
>
> ---
> config.guess | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/config.guess b/config.guess
> index 1972fda..7a74216 100755
> --- a/config.guess
> +++ b/config.guess
> @@ -1362,6 +1362,7 @@ EOF
> UNAME_PROCESSOR=$(uname -p)
> case $UNAME_PROCESSOR in
> unknown) UNAME_PROCESSOR=powerpc ;;
> + arm64) UNAME_PROCESSOR=aarch64 ;;
> esac
> if command -v xcode-select > /dev/null 2> /dev/null && \
> ! xcode-select --print-path > /dev/null 2> /dev/null ; then

What's the value of UNAME_MACHINE where this change is needed?


--
ldv

reply via email to

[Prev in Thread] Current Thread [Next in Thread]