[oe-commits] [openembedded-core] 20/49: musl: Build only in ARM mode when using clang

git at git.openembedded.org git at git.openembedded.org
Mon Aug 14 13:21:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 416b469eea517228c516b6770f7e26070bd68a66
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Aug 11 15:12:08 2017 -0700

    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
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/musl/musl_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb
index 64c7334..eefd23b 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}"
 
 LDFLAGS += "-Wl,-soname,libc.so"
 
+ARM_INSTRUCTION_SET_toolchain-clang = "arm"
+
 CONFIGUREOPTS = " \
     --prefix=${prefix} \
     --exec-prefix=${exec_prefix} \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list