summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2018-01-09 20:54:18 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-13 10:15:20 +0000
commitac18f28e22320a7726ee4aeb8b4874b0a94669c7 (patch)
treeb68fc2fb14b050bcfcf6fb1e5326398c8b31703d /meta/classes
parentb775c95a8d80ec6585e8518454f20365b356b0d0 (diff)
downloadpoky-ac18f28e22320a7726ee4aeb8b4874b0a94669c7.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. (From OE-Core rev: 8a61e0c0c53275ebc623296f46676d920b11eb3b) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/meson.bbclass2
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} \
25 --localstatedir ${localstatedir} \ 25 --localstatedir ${localstatedir} \
26 --sharedstatedir ${sharedstatedir}" 26 --sharedstatedir ${sharedstatedir}"
27 27
28MESON_C_ARGS = "${TARGET_CC_ARCH}${TOOLCHAIN_OPTIONS}" 28MESON_C_ARGS = "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
29MESON_LINK_ARGS = "${MESON_C_ARGS} ${LDFLAGS}" 29MESON_LINK_ARGS = "${MESON_C_ARGS} ${LDFLAGS}"
30 30
31# both are required but not used by meson 31# both are required but not used by meson