mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
toolchain-scripts: Make -mmusl apply only for gcc toolchains
This option is not respected by clang (From OE-Core rev: 82484ccb3eb1a7b5562131881b5ed6545144e5eb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -9,7 +9,7 @@ inherit toolchain-scripts-base siteinfo kernel-arch meson-routines
|
||||
# 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-musl = " -mmusl"
|
||||
TARGET_CC_ARCH:append:toolchain-gcc:libc-musl = " -mmusl"
|
||||
|
||||
# default debug prefix map isn't valid in the SDK
|
||||
DEBUG_PREFIX_MAP = ""
|
||||
|
||||
Reference in New Issue
Block a user