diff options
author | Mike Gilbert <floppym@gentoo.org> | 2020-05-23 23:15:41 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2020-05-23 23:15:41 -0400 |
commit | c21b75bd0b6bf77e2b51c51222b4281729bb1c01 (patch) | |
tree | fe974904da1496745427b77a3f9f1be02ea35934 /eclass | |
parent | net-p2p/transmission: disable cmake warning for subprojects (diff) | |
download | gentoo-c21b75bd0b6bf77e2b51c51222b4281729bb1c01.tar.gz gentoo-c21b75bd0b6bf77e2b51c51222b4281729bb1c01.tar.bz2 gentoo-c21b75bd0b6bf77e2b51c51222b4281729bb1c01.zip |
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 <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/meson.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
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}" |