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@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj authored and Martin Jansa committed 2017-09-18 10:16:23 +02:00
1 parent a3e6631543
commit 028eeb8ca6
1 file changed
+1 -1
@@ -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
}