From 028eeb8ca6809b7f4042fcaf2ec4f3982076f857 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 11 Sep 2017 08:10:52 -0700 Subject: 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 Signed-off-by: Martin Jansa --- meta-initramfs/recipes-devtools/klibc/klibc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-initramfs') diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc index ed15b2e1ea..dec3d37042 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 } -- cgit 1.2.3-korg