mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 08:02:30 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b775c95a8d
commit
ac18f28e22
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user