On Sat, 1 Jul 2017 09:55:29 +0100 James Le Cuirot <[email protected]> wrote:
> Funny that no one noticed this for 10 years. :) Thanks to klausman for
> clearing this up.
> ---
> eclass/toolchain-funcs.eclass | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
> index 121db46e62b5..777fce905f3e 100644
> --- a/eclass/toolchain-funcs.eclass
> +++ b/eclass/toolchain-funcs.eclass
> @@ -572,7 +572,7 @@ tc-endian() {
> case ${host} in
> aarch64*be) echo big;;
> aarch64) echo little;;
> - alpha*) echo big;;
> + alpha*) echo little;;
> arm*b*) echo big;;
> arm*) echo little;;
> cris*) echo little;;
> --
> 2.13.1
>
>
Looks good.
$ alpha-unknown-linux-gnu-gcc -dM -E - </dev/null | grep __BYTE_ORDER__
#define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__
[for both physical host and a crosscompiled generated by crossdev]
--
Sergei
pgplmF11P7EIw.pgp
Description: Цифровая подпись OpenPGP
