diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-17 22:43:03 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-21 23:00:18 +0100 |
| commit | f5c0e86cc0dd669111a8192cc5dd06c6e9ccd58f (patch) | |
| tree | 1f02fe2b104f430e196316b40111bfdf8bd9b771 | |
| parent | 831c551d0f4e4adc29e0d5c0efcde70ae448c976 (diff) | |
| download | poky-f5c0e86cc0dd669111a8192cc5dd06c6e9ccd58f.tar.gz | |
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>
| -rw-r--r-- | meta/classes-recipe/toolchain-scripts.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/toolchain-scripts.bbclass b/meta/classes-recipe/toolchain-scripts.bbclass index 3053cd0f1f..5874a48af8 100644 --- a/meta/classes-recipe/toolchain-scripts.bbclass +++ b/meta/classes-recipe/toolchain-scripts.bbclass | |||
| @@ -9,7 +9,7 @@ inherit toolchain-scripts-base siteinfo kernel-arch meson-routines | |||
| 9 | # We want to be able to change the value of MULTIMACH_TARGET_SYS, because it | 9 | # We want to be able to change the value of MULTIMACH_TARGET_SYS, because it |
| 10 | # doesn't always match our expectations... but we default to the stock value | 10 | # doesn't always match our expectations... but we default to the stock value |
| 11 | REAL_MULTIMACH_TARGET_SYS ?= "${MULTIMACH_TARGET_SYS}" | 11 | REAL_MULTIMACH_TARGET_SYS ?= "${MULTIMACH_TARGET_SYS}" |
| 12 | TARGET_CC_ARCH:append:libc-musl = " -mmusl" | 12 | TARGET_CC_ARCH:append:toolchain-gcc:libc-musl = " -mmusl" |
| 13 | 13 | ||
| 14 | # default debug prefix map isn't valid in the SDK | 14 | # default debug prefix map isn't valid in the SDK |
| 15 | DEBUG_PREFIX_MAP = "" | 15 | DEBUG_PREFIX_MAP = "" |
