diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-08-11 15:12:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-16 00:03:14 +0100 |
commit | b0220d1b72b560b581554dd5b4065b2141580efc (patch) | |
tree | 32eba46a0f2609e18a96344375ac28b785bf02ad | |
parent | 79483b05674152c64ad05721f25072a2bb448c80 (diff) | |
download | poky-b0220d1b72b560b581554dd5b4065b2141580efc.tar.gz |
musl: Build only in ARM mode when using clang
clang 5.0 has a codegen bug when compiling musl in thumb2 mode see
https://bugs.llvm.org/show_bug.cgi?id=34165
(From OE-Core rev: 3b4182968c5a1271748002f0e0264f54643a9f1c)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/musl/musl_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index 64c7334eea..eefd23bb8e 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb | |||
@@ -28,6 +28,8 @@ export CROSS_COMPILE="${TARGET_PREFIX}" | |||
28 | 28 | ||
29 | LDFLAGS += "-Wl,-soname,libc.so" | 29 | LDFLAGS += "-Wl,-soname,libc.so" |
30 | 30 | ||
31 | ARM_INSTRUCTION_SET_toolchain-clang = "arm" | ||
32 | |||
31 | CONFIGUREOPTS = " \ | 33 | CONFIGUREOPTS = " \ |
32 | --prefix=${prefix} \ | 34 | --prefix=${prefix} \ |
33 | --exec-prefix=${exec_prefix} \ | 35 | --exec-prefix=${exec_prefix} \ |