mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 09:39:46 +00:00
toolchain-scripts: For non-glibc, pass compiler options to ensure the correct libc selection
gcc-cross-canadian-<arch> is only built once. It needs to target all the different libcs, not just the currently selected one. This change ensures that if another libc is used, the compiler correctly selects the right one. [YOCTO #8025] (From OE-Core rev: da2e92e256054b137a1646fdad1fe1a47ba3215a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ae344c188d
commit
72777f4f2f
@ -3,6 +3,8 @@ inherit siteinfo kernel-arch
|
||||
# We want to be able to change the value of MULTIMACH_TARGET_SYS, because it
|
||||
# doesn't always match our expectations... but we default to the stock value
|
||||
REAL_MULTIMACH_TARGET_SYS ?= "${MULTIMACH_TARGET_SYS}"
|
||||
TARGET_CC_ARCH_append_libc-uclibc = " -muclibc"
|
||||
TARGET_CC_ARCH_append_libc-musl = " -mmusl"
|
||||
|
||||
# This function creates an environment-setup-script for use in a deployable SDK
|
||||
toolchain_create_sdk_env_script () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user