From d25890b0c2ca5ecd282799d308ebd0e4e825d3a5 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Thu, 9 May 2019 12:31:50 +0100 Subject: [PATCH] config/functions: endianness in meson cross is always little --- config/functions | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/config/functions b/config/functions index 405f52303c0..793ba089caa 100644 --- a/config/functions +++ b/config/functions @@ -357,11 +357,9 @@ setup_toolchain() { create_meson_conf() { local endian root properties case "$1" in - target|init) endian="little" - root="$SYSROOT_PREFIX/usr" + target|init) root="$SYSROOT_PREFIX/usr" ;; - host|bootstrap) endian="big" - root="$TOOLCHAIN" + host|bootstrap) root="$TOOLCHAIN" ;; esac @@ -380,7 +378,7 @@ llvm-config = '$SYSROOT_PREFIX/usr/bin/llvm-config-host' system = 'linux' cpu_family = '$TARGET_ARCH' cpu = '$TARGET_SUBARCH' -endian = '$endian' +endian = 'little' [properties] root = '$root'