meson.bbclass: use HOST_CC_ARCH, not TARGET_CC_ARCH
PATCH 1/1 meson.bbclass: use HOST_CC_ARCH, not TARGET_CC_ARCH
From: Christopher Larson <[email protected]>
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 <[email protected]>
--- meta/classes/meson.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/meson.bbclass +1 -1
@@ -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
Signature · 1 line
2.11.1