From c21b75bd0b6bf77e2b51c51222b4281729bb1c01 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 23 May 2020 23:15:41 -0400 Subject: meson.eclass: define host_machine in the native machine file Should resolve a problem with inline assembly in media-libs/mesa for multilib builds. Signed-off-by: Mike Gilbert --- eclass/meson.eclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eclass') diff --git a/eclass/meson.eclass b/eclass/meson.eclass index e79faa1beea3..617e5cb23e51 100644 --- a/eclass/meson.eclass +++ b/eclass/meson.eclass @@ -253,6 +253,12 @@ _meson_create_native_file() { cpu_family = '${cpu_family}' cpu = '${cpu}' endian = '$(tc-endian "${CBUILD}")' + + [host_machine] + system = '${system}' + cpu_family = '${cpu_family}' + cpu = '${cpu}' + endian = '$(tc-endian "${CBUILD}")' EOF echo "${fn}" -- cgit v1.2.3-65-gdbad