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 2017-09-11 08:10:52 -07:00 committed by Martin Jansa
parent a3e6631543
commit 028eeb8ca6

View File

@ -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
}