[oe-commits] [meta-openembedded] 07/22: klibc: Edit out gcc hardcoding in do_compile

git at git.openembedded.org git at git.openembedded.org
Wed Sep 13 09:20:32 UTC 2017


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

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 2864d93d558431cf47b98f22f4fc0157c3d67d14
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Sep 11 08:10:52 2017 -0700

    klibc: Edit out gcc hardcoding in do_compile
    
    This is needed when building klcc-cross and klcc-cross
    does not have do_configure, therefore stick this just before
    do_compile
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index ed15b2e..dec3d37 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -50,7 +50,7 @@ do_configure () {
     ln -sf "${STAGING_DIR_TARGET}${exec_prefix}" linux
 }
 
-do_configure_prepend_toolchain-clang() {
+do_compile_prepend_toolchain-clang() {
     sed -i -e 's#$(KLIBCROSS)gcc#$(KLIBCROSS)clang#g' ${S}/Makefile
 }
 

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


More information about the Openembedded-commits mailing list