Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] meson.bbclass: use HOST_CC_ARCH, not TARGET_CC_ARCH
@ 2018-01-09 15:54 Christopher Larson
  0 siblings, 0 replies; only message in thread
From: Christopher Larson @ 2018-01-09 15:54 UTC (permalink / raw)
  To: openembedded-core; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

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>
---
 meta/classes/meson.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index b72e5207abc..4a4c51f8402 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
-- 
2.11.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-09 15:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-09 15:54 [PATCH] meson.bbclass: use HOST_CC_ARCH, not TARGET_CC_ARCH Christopher Larson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox