diff options
author | Christopher Larson <chris_larson@mentor.com> | 2018-01-09 20:54:18 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-12 08:43:55 +0000 |
commit | 8a61e0c0c53275ebc623296f46676d920b11eb3b (patch) | |
tree | 0fa248ab56dce51aee915f92c6af7957d9191fa0 /meta/classes/meson.bbclass | |
parent | aabb3bc2e150dccf01e283ed02a4701753b20362 (diff) | |
download | openembedded-core-contrib-8a61e0c0c53275ebc623296f46676d920b11eb3b.tar.gz |
meson.bbclass: use HOST_CC_ARCH, not TARGET_CC_ARCH
Using TARGET_CC_ARCH is inconsistent with CC, which uses HOST_CC_ARCH, and the
rest of meson.bbclass, which uses HOST_PREFIX, HOST_OS, etc.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/meson.bbclass')
-rw-r--r-- | meta/classes/meson.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index b72e5207ab..4a4c51f840 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -25,7 +25,7 @@ MESONOPTS = " --prefix ${prefix} \ --localstatedir ${localstatedir} \ --sharedstatedir ${sharedstatedir}" -MESON_C_ARGS = "${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS}" +MESON_C_ARGS = "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" MESON_LINK_ARGS = "${MESON_C_ARGS} ${LDFLAGS}" # both are required but not used by meson |