commit:     4fa4fa183d100a4bb8616db44c4b1c895910a3e1
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun May  3 02:24:20 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun May  3 02:24:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fa4fa18

meson.eclass: fix tc-endian call for native file

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 eclass/meson.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/meson.eclass b/eclass/meson.eclass
index 7b1a6a9735b..323b6ebf095 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}"

Reply via email to