summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRepository mirror & CI <repomirrorci@gentoo.org>2020-05-24 03:35:13 +0000
committerRepository mirror & CI <repomirrorci@gentoo.org>2020-05-24 03:35:13 +0000
commit7368e12591ab320b7f266629cccf1e114c29ba95 (patch)
tree480ea5b4c19ae3d9b79fd5bea13fd5bfd7f68471
parent2020-05-24 03:05:34 UTC (diff)
parentmeson.eclass: define host_machine in the native machine file (diff)
downloadgentoo-7368e12591ab320b7f266629cccf1e114c29ba95.tar.gz
gentoo-7368e12591ab320b7f266629cccf1e114c29ba95.tar.bz2
gentoo-7368e12591ab320b7f266629cccf1e114c29ba95.zip
Merge updates from master
-rw-r--r--eclass/meson.eclass6
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}"