tcmode: fix toolchain-clang override

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2022-04-01 22:56:30 +00:00
parent 9ac6c348e7
commit cc511c3357

View File

@@ -88,7 +88,7 @@ BB_HASHBASE_WHITELIST:remove = "EXTERNAL_TOOLCHAIN"
# TOOLCHAIN_OPTIONS would seem more appropriate, but that gets added to LD as
# well, and --no-sysroot-suffix only works for gcc, not binutils.
NO_SYSROOT_SUFFIX = " --no-sysroot-suffix"
NO_SYSROOT_SUFFIX_toolchain-clang = ""
NO_SYSROOT_SUFFIX:toolchain-clang = ""
HOST_CC_ARCH .= "${NO_SYSROOT_SUFFIX}"
# Certain recipes call ld directly, so ensure the correct emulation is used,