From 4fa4fa183d100a4bb8616db44c4b1c895910a3e1 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 2 May 2020 22:24:20 -0400 Subject: [PATCH] meson.eclass: fix tc-endian call for native file Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/meson.eclass b/eclass/meson.eclass index 7b1a6a9735bd..323b6ebf0953 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -248,7 +248,7 @@ _meson_create_native_file() { system = '${system}' cpu_family = '${cpu_family}' cpu = '${cpu}' - endian = '$(tc-endian "${CHOST}")' + endian = '$(tc-endian "${CBUILD}")' EOF echo "${fn}" -- 2.26.2